Extract /etc/letsencrypt
to tar file
On the new system, remove the current certificates and config (if applicable) with:
sudo rm -r /etc/letsencrypt
Make a new folder with:
sudo mkdir /etc/letsencrypt
Copy the contents of the tar directly into the folder (this will preserve symlinks, cp
doesn't):
sudo tar -xvf letsencrypt.tar -C /etc/letsencrypt