E
E
ekopach2020-01-21 16:40:13
Nginx
ekopach, 2020-01-21 16:40:13

Is there a way to sync ssl between multiple servers?

I use GeoDNS, i.e. the domain, depending on the geography of the request, can refer to different servers. Each server has nginx configured with an ssl certificate.
When renewing the certificate, now I manually update it on all servers, I wondered how to automate this process. To, conditionally, update the certificate on one server and it would be automatically updated on the rest.
Maybe someone knows ready-made solutions?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ivan Shumov, 2020-01-21
@ekopach

Of course, this is not the first time I have said this week, but!
Infrastructure as Code: Ansible, Chef, Puppet.

S
SagePtr, 2020-01-21
@SagePtr

Receive on one, load changes on the others via rsync, for example.
The only thing to remember is that in letsencrypt, the certificates in the live folder are symbolic links, so you need to run rsync at least with the -L -K switches.

K
ky0, 2020-01-21
@ky0

Ansible and other orchestrators. Flexible, free.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question