Use of certificates on 2 servers

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. |, so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain

I ran this command:

It produced this output:

My web server is (include version):apache

The operating system my web server runs on is (include version):raspbian

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

I got a pair of certificates for a raspbian server and it was running fine both through http and https.
I need to setup a new server identical to the previous one. It runs apache too and I have succeded to configure https with local certificates so that I have access from outside. Could I use the certificates I got for the first server and if yes how to modify the apache configuration? I should add that the domain name is the same for both servers. Thank you

1 Like

Hi @happyusers welcome to the LE community forum :slight_smile:

Yes; if you have both the private key and the public cert files.
You can even backup/copy the entire ACME client directory from one server to the other.

If they are similar systems, you could copy the Apache config files from the old one to the new one.
Or read/learn how to code vhost configs manually in Apache.
[this is really not a forum for how to do basic web server configuration]

If both (will) have the same name, then they will likely not be able to be connected to at the same time (securely via that name); as DNS will only resolve to one IP and that one IP will only reach one server.

1 Like

Thanks you rg305
I have difficulties getting my server UP and running https protocol. It was ok some weeks ago but doesnt answer any more except through http. I tries to setup a new server hence my question. That new one answers with self-obtained certificates but not when I substitute the certificated ones. I Wonder why it ran so long without renewing certificates (at least 18 months) whereas certificates are supposed to be deprecated after 3 months. I shall try to set up a quite new server from scratch with new certificates.

1 Like

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