Sharing same certificate between two NGINX servers

i have two web servers load balanced between two nodes A and B
both of them conectted to shared storage

is there any method to put the certbot certificate in this shared storage so both servers can read it
and if yes how i an install the certificate on other node

My domain is:

Use --deploy-hook to copy the certificates to shared storage and then trigger a web server reload on the other server:

(Alternatively you can just reload the web server nightly on both servers, which will ensure your new certificates are reloaded often enough).

Note, if you use cp to copy the certificates, use cp -L to ensure you copy the real file, not the symlink.

Edit: You could also symlink the entirely of /etc/letsencrypt into your shared storage.

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