I was following this tutorial: http://www.cyberciti.biz/faq/how-to-configure-nginx-with-free-lets-encrypt-ssl-certificate-on-debian-or-ubuntu-linux/,
and it worked: I had my https site online.
But then I decided to redo the tutorial with other settings, so I cleaned up (rm) everything and started back again, forgetting that certificates are sensitive things.
From my editor history, I can access to the certificate code:
-----BEGIN CERTIFICATE-----
MIIGKTCCBRGgAwIBAgISAbecA+qHw6ouRkKY9rzmikPWMA0GCSqGSIb3DQEBCwUA
…
-----END CERTIFICATE-----
But that’s pretty much all I have left.
Redoing the tutorial gets me to the point where I do this command
le issue /var/www/html theos.in www.theos.in 4096
(le is the name of the script used in the tutorial)
I get the following error:
Verify error:Error parsing key authorization file: Invalid key authorization: malformed token
I’m not sure what I should do at that point.
Revoking the offending certificate (but how?) and create a new one?