Skip to content
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

marathon-lb can't pick up cert generated by letsencrypt-dcos #5

Closed
bgyss opened this issue Oct 11, 2016 · 3 comments
Closed

marathon-lb can't pick up cert generated by letsencrypt-dcos #5

bgyss opened this issue Oct 11, 2016 · 3 comments

Comments

@bgyss
Copy link

bgyss commented Oct 11, 2016

When letsencrypt-dcos attempts to deploy the new certificate, marathon-lb hangs on the "Getting Private key" message in the error log.

The error log from my marathon-lb instance appears like this:

Generating RSA private key, 2048 bit long modulus
.+++
..............+++
e is 65537 (0x10001)
Signature ok
subject=/CN=*
Getting Private key

Is there anything else I might have to change in config besides LETSENCRYPT_EMAIL and HAPROXY_0_VHOST?

@wilso
Copy link

wilso commented Oct 24, 2016

Hi @bgyss, I was having the same problem you've reported here. I was trying this on a DC/OS cluster deployed on AWS through CloudFormation with a single public slave node. I updated my CloudFormation template to deploy a second public slave node and once I scaled my marathon-lb service to run on both public slave nodes it started working for me. I'm not sure if this is something to do with some sort of HA setup, since it was hung on getting the private key I'm not sure if that makes sense. Hopefully this helps.

@brndnmtthws
Copy link
Contributor

If you only have 1 public agent, it won't deploy because you don't have adequate capacity.

@mattj-io
Copy link
Contributor

mattj-io commented Mar 1, 2019

This was likely a timing issue, the old Docker image took a long time to start up properly and it wasn't obvious it was doing anything. The latest version of this project has now moved to https://github.com/dcos-labs/letsencrypt-dcos, and has major improvements in start up timing amongst other things.

@mattj-io mattj-io closed this as completed Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants