Is possible have same certificate for two servers?

I have to migrate a website that already has an SSL certificate Let`s Encrypt. I am wondering if I can migrate the certificate when I have not yet changed the DNS to point to the new server.

I would work on the new server modifying my hosts file.

Is it possible to have the same let’s encrypt certificate for a domain on two different servers?

1 Like

Yes, that’s no problem at all. Just make sure you transfer the private key securely, for example, through SSH (and with that scp for example).

1 Like

Ok, Do you know if the scenario I propose will work?
Migrate my website to another server and modify my hosts to point the IP of the new server.
So I can only work and when I have everything ready to change the DNS permanently

1 Like

Should work, yes. Certificates are only “linked” to the hostnames they contain. Not to an IP address or server. And it doesn’t matter if a certificate is duplicated.

1 Like

Forgive my ignorance, but would it also be valid if I upload them compressed to G drive and then download them to the new server?

G drive = Google Drive? I’m pretty sure Google can read the contents too. In my opinion that’s not a safe method.

Unless your compression mechanism had a good and strong encryption method perhaps.

1 Like