Question

Newbie: Site not working after unsuccessful attempt at deleting SSL certificate

Hello. I have an old version of Ubuntu (its a long story, I cant update right now for the next few months since its running an old version of a website which my developers are reworking with latest version of php etc).

My previous developer had assigned an SSL certificate. Then left. Which expired. I couldn’t update it for various reasons. Now I tried to delete it. being a newbie I think I didn’t do it well.

Now my site isn’t working. Browser says cant connect to server. Nginx doesn’t seem to be running.

I get the : “BIO_new_file(”/etc/letsencrypt/live/websitename.com/fullchain.pem") failed (SSL" Error.

Active: failed (Result: exit-code) Failed with result ‘exit-code’

(not necessarily in that order. I typed the above errors because I couldn’t copy paste from the console :(


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @paramvir00,

It seems your previous developer installed an Let’s Encrypt SSL. You should be able to renew it using certbot. I’ll recommend checking one of the following articles:

https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04

or

https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04

Additionally, here is anothre good tutorial which ou should be able to use in your case:

https://www.digitalocean.com/community/tutorials/how-to-set-up-let-s-encrypt-with-nginx-server-blocks-on-ubuntu-16-04

All of the above tutorials will help you renew and reinstall your certificate and add it to Nginx. Once you do, you shouldn’t have any issues with your website.