IndigoIdentity
Expert Member
- Joined
- May 10, 2010
- Messages
- 1,964
As the title implies, how would one deal correctly with maintaining an SSL certificate across various web servers.
Use case? Say you have an app and it's growing, to the point where you're serving it off of more then one web server.
Web server 1 is configured with LetsEncrypt and every two weeks during a cron task it tries to renew said certificate. The certificate to my understanding is only valid for 90 days so when the it gets renewed the actual certificate that is being referenced by Nginx/Apache changes?
So in comes web server 2 and is also wearing Nginx and wants to host the app but Nginx want's the certificate path and the certificate is currently on / being renewed by web server 1.
In reality, how are we supposed to ensure that web servers 1-10 can all make use of the same SSL certificate? Sure, we can rsync but that hardly seems like an ideal solution...
Any advice / input would be appreciated, tyia!
Use case? Say you have an app and it's growing, to the point where you're serving it off of more then one web server.
Web server 1 is configured with LetsEncrypt and every two weeks during a cron task it tries to renew said certificate. The certificate to my understanding is only valid for 90 days so when the it gets renewed the actual certificate that is being referenced by Nginx/Apache changes?
So in comes web server 2 and is also wearing Nginx and wants to host the app but Nginx want's the certificate path and the certificate is currently on / being renewed by web server 1.
In reality, how are we supposed to ensure that web servers 1-10 can all make use of the same SSL certificate? Sure, we can rsync but that hardly seems like an ideal solution...
Any advice / input would be appreciated, tyia!
Last edited: