By Saga
I’ve followed this guide to install a Let’s Encrypt certificate on the first droplet: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04
I’d like to destroy that droplet and instead move the certificate to a new droplet elsewhere. Do I run certbot again on the new droplet? Or do I just copy over the certificate files? If the latter, then how do I configure auto-renewal?
Thanks!
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!
Hi @Saga
You can do what @mnordhoff recommends - it’s probably the easiest way.
Otherwise you would have to manually copy files from /etc/letsencrypt to the new server.
Just remember that you will get an email alerting you that the old certificate is expiring - you need to ignore those mails, since you are actually using a different certificate on a different server. I think you get two mails around day 80 of the old certificate.
I want to do the same thing. I am trying to install let’s encrypt in the new droplet but I receive the following error :
Problem binding to port 80: Could not bind to IPv4 or IPv6.
It is independent of what I write as domain name
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.