Migrate certificare to new server

I need to move existing certs to new servers. The URL’s are all the same, I js need to migrate to new hosts. I am not sure how to accomplish this smoothly.

Your help and time is very much appreciated!

Assuming you’re using certbot (previously known as letsencrypt or letsencrypt-auto), simply copying your entire /etc/letsencrypt directory and then re-installing the client on the new host would work. Make sure you preserve the file permissions and symlinks with something like rsync -a. Finally, don’t forget to add any cronjobs you might have set up for renewal - and testing renewal with certbot renew --dry-run is always a good idea. :wink:

1 Like

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