-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
one certificate on multiple servers #11
Comments
Hi Anton, implementing something to collect the certificates is the easy part. So the solution to this issue is not as easy as it seems to be... Does that help? Best regards, Bernd P.S. https://www.amazon.de/hz/wishlist/ls/1TXINPFZU79GL?ref_=wl_share |
Servus Bernd,
Ah, I missed that the keys are not transferred.
Good choice - will obviously work as well. I'm thinking about collecting the certificate for HAProxy (concatenated private key + cert + CA) and then exporting this file with the key. Thanks for the insight! |
for me works follow solution really good:
|
@tepecat nice idea! I'll put that into the README. |
Hi,
first of all: thanks for this really neat helpful module!
I'm using it on multiple systems with http-01, requesting and deploying certificates works like a charm.
On single webservers (just one webserver which uses the certificate), this works perfect:
This requests, retrieves and renews the certificate - perfect.
For one project, we have a load balancer based setup: three nodes with HAProxy (puppetlabs-haproxy) and virtual IP with Corosync/Pacemaker.
dehydrated_host
, we use againhttp-01
(no access to DNS)As three different nodes define their own (but identical!) set of
dehydrated::certificate
, this will result in three different certificates being requested from Let's Encrypt. Due to (failed) tests I managed to hit the rate limits, which should of course not happen.My idea now was to use exported Ressources: define just on lb1, but collect on all three.
Instead of having one single certificate that will only be transferred to multiple nodes, this results also in three seperate requests in
/opt/dehydrated/requests.json
.How can I solve this?
dehydrated::certificate
doesn't work, as showndehydrated::certificate::collect
is - of course - decouraged.requester
attribute, so the certificates will share a single requester FQDN might be possible, but I didn't change the module yet to test this.Am I holding it wrong, or was this not yet intended use?
Will look into possible fixes now.
Best,
Anton
P.S.: let me know how to compensate your work on this module/issue.
The text was updated successfully, but these errors were encountered: