Move Let’s Encrypt certs to another server and renew them

Nidhi
2 min readMay 26, 2021

In this blog, we will see how to Move Let’s Encrypt certs to another server and renew it.

To move the certs from one server to another -

  • Make a zip file of /etc/letsencrypt folder
  • Install the certbot on the new server
  • Extract it on the new server

This process will work without any issues but when you will try to renew the certs then you might see the below error

Attempting to parse the version 1.9.0 renewal configuration file found at /etc/letsencrypt/renewal/abc.com.conf with version 0.40.0 of Certbot. This might not work.
Renewal configuration file /etc/letsencrypt/renewal/abc.com.conf produced an unexpected error: expected /etc/letsencrypt/live/abc.com/cert.pem to be a symlink. Skipping.

So, to fix the above issue after moving the certs from one server to another certs , run the below command

certbot certificates

This command will fail with the same error as shown above.

So basically, when we move certs from one server to another, symlink didn’t get created automatically you have to create it…

--

--