Migrate certificates and settings from one server to another

I have an Ubuntu server with Apache that will be discontinued for a new one with Ubuntu 22.04 with Apache.

On my current server I have all the certificate settings installed on that server, expiration date, and everything else so I can enable/disable the certificate and update when needed.

Is it possible to migrate certificates and settings from this old server to the new one without having to recreate all the certificates I have?

That's because I have several (50+) certificates that need to be transferred, and recreating one by one is kind of slow.

If you are using certbot, you can.

Just make sure to copy the entire /etc/letsencrypt directory and pay attention to preserving symbolic links.

1 Like

Hi @flaviotomazio

Take a read on this thread and you will find your solution.

Hope this helps


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