What are my options for moving my LetsEncrypt certificate from one server to another?

Kecoey asked:

I have an ubuntu server running through Digital Ocean that has an SSH certificate that I got through LetsEncrypt.

I’m trying to switch to a cheaper service, and I need to move the cert to my new server. How can I do this?

It looks like I can revoke the certificate on my current DO server. Can I then make a new one on my new server without any problems?

My answer:


Supposing you are using the certbot tool to manage your Let’s Encrypt certificates, which most people do, it is sufficient to copy the entire /etc/letsencrypt directory from one server to another. All of your certificates, as well as certbot configuration, are in there. So you can continue on the new server exactly as you were before.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.