Move from apache to nginx - How to Update Certbot

HI everyone,

i installed lets encrypt along with auto renewal while i was using apache. Several months ago i moved to Nginx, and today can’t access my website because certificate expired. Which i’ve never encountered before. I assume this because the webserver migration.

I followed digitiaocean tutorial to install and set the autorenew here https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-14-04

Anyone know what should i do now? install and just set a new certificate with same domain in this nginx app ?

thanks

Hi @Hilmanrdn

What challenge did you use with Apache?

The easiest way be to get new certificates issued via zerossl. Add these somewhere resonable and then configure them as per the Mozilla TLS guide. https://wiki.mozilla.org/Security/Server_Side_TLS

You can then spend some time configuring certbot to work with your NGINX server.

There are plenty of online articles on how to do that

https://loune.net/2016/01/https-with-lets-encrypt-ssl-and-nginx/

Andrei

1 Like

hey @ahaw021 thanks for the guide.
I followed again the digitalocean tutorial for nginx https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04
and thanks god it solved.
thanks !

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.