My domain is: msazure.developatribe.com
My web server is (include version): app = Mattermost
The operating system my web server runs on is (include version): Ubuntu 18.04
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): 0.28.0
I have 2 servers load balanced for my application. I have Certbot certificates successfully installed and tested on 1 server. I would like to have the same certificate installed on the other server as well. I am not sure on the best practice to achieve this. Any ideas welcome. Thanks.
It sounds like Certbot could not reliably perform renewal unless the renewal host was able to write the challenge response file to both servers, right? Since the validation request from Let’s Encrypt’s validation service has a 50% chance of arriving at either server.
If one server has to deploy files to the other (for the challenge response part), then you could also leverage that access to copy the certificate and private file over (e.g. using a hook in /etc/letsencrypt/renewal-hooks/deploy) and then reload the webserver in both locations.
(So you’d only run Certbot on one “master” server).
One alternate strategy can also be to use DNS validation, and run Certbot in both locations. Yes, you’d have duplicate certificates, but with only 2 servers, it’s unlikely to be a problem.
Sorry for slow reply but first chance to get back to the problem in hand.
I am new to LetsEncrypt so think the DNS validation looks the simplest option at present. So I assume I could just run the sudo certbot certonly --standalone -d msazure.developatribe.com and it would install another certificate?
Also “certonly” would only get a cert; it would not “install” it anywhere.
The installation part can be done manually and should be no real cause for concern.
[just making that point clear so if you do ever get a cert that way you understand the outcome better]
So am I able to use the 4.pen files I already have to manually copy to the other server?
I assume the chain.pem requires converting and installing as the public CA?
And the cert.pem and private.pem (?) Are converted and saved as per