Lets Encrypt SSL lost

April 18, 2018 384 views
Let's Encrypt Security Ubuntu 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?

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;
proxy
pass http://example.com:5007;
proxyhttpversion 1.1;
proxysetheader Upgrade $httpupgrade;
proxy
setheader Connection 'upgrade';
proxy
setheader Host $host;
proxy
cachebypass $httpupgrade;
}

Have another answer? Share your knowledge.