Transfer Let’s Encrypt certificates to new server

It’s very easy to move Let’s Encrypt SSL certificates to new server. If you don’t know who Let’s Encrypt certificate authority is… read up here.

All you need to do install Let’s Encrypt on new serer first, then transfer the following directories to same location on new server.

  • /etc/letsencrypt/archive/$SITE
  • /etc/letsencrypt/live/$SITE
  • /etc/letsencrypt/renewal/$SITE.conf

Edit /etc/letsencrypt/renewal/$SITE.conf file and replace the string in “account =” with the folder name from /etc/letsencrypt/accounts/acme-v01.api.letsencrypt.org/directory/.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.