Lets Encrypt SSL lost

Posted April 18, 2018 2.1k views
SecurityLet's EncryptUbuntu 16.04

I was having some issues routing www to a non www url in nginx and i ended up deleting the entire letsencrypt folder. Now I am getting a CAA iusse failure when trying to run certbot again. Is there anyway to recover my keys or to wipe it clean to start again?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

I would recommend reinstalling certbot and requesting a new certificate for your domain, starting over with the LetsEncrypt setup. Once you have the cert installed, update us here with your configuration if you’re still seeing issues with the redirect and we can assist in modifying it to meet your needs.

Ok I think it is back up after following your instructions, however trying to use a proxy pass to redirect traffic to my node app, which is currently failing, of course this should be an https request
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
tryfiles $uri $uri/ =404;
proxyhttpversion 1.1;
proxysetheader Upgrade $httpupgrade;
setheader Connection ‘upgrade’;
setheader Host $host;
cachebypass $httpupgrade;