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

Bug in Algorithm Select #3821

Closed
cliedeman opened this issue Aug 25, 2018 · 2 comments
Closed

Bug in Algorithm Select #3821

cliedeman opened this issue Aug 25, 2018 · 2 comments

Comments

@cliedeman
Copy link

Do you want to request a feature or report a bug?

Bug

What did you do?

Upgraded to traefik 16.6.5 from 17.0.rc3

What did you expect to see?

ACME certificates renewing as expected.

What did you see instead?

time="2018-08-24T13:10:46Z" level=error msg="Unable to obtain ACME certificate for domains \"foo.com\" detected thanks to rule \"Host:foo.com\" : unable to generate a certificate for the domains [foo.com]: acme: Error -> One or more domains had a problem:\n[foo.com] invalid KeyType: \n"

Output of traefik version: (What version of Traefik are you using?)

17.0.rc3

What is your environment & configuration (arguments, toml, provider, platform, ...)?

kubernetes helm chart with acme.json config. Single instance
ACME enabled, challenge type: http-01

The issue is related to #3319. In my acme.json my KeyType string was empty (as expected). This should default correctly due to but its somehow getting through to lego causing this log

I think this line should probabably do a check for an empty key and probably panic with a message to the user that the Key Type is missing. I am not sure if it is safe to default to 4096.

As I workaround I manually set the key type to 4096 inside my acme.json.

@ldez
Copy link
Member

ldez commented Aug 25, 2018

duplicate of #3468 (comment)

Already fixed by #3733

@cliedeman
Copy link
Author

Thanks

@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants