Lets Encrypt SSL lost

April 18, 2018 1.2k views
Security Let's Encrypt 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;
pass http://example.com:5007;
proxyhttpversion 1.1;
proxysetheader Upgrade $httpupgrade;
setheader Connection ‘upgrade’;
setheader Host $host;
cachebypass $httpupgrade;

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!