-
Notifications
You must be signed in to change notification settings - Fork 39
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
Authorization object is missing "wildcard" field when issuing wildcard certificates #76
Comments
Thx for spotting this. Seems cert-manager is the first acme-client make use of this field. Creating a fix should not be a big issue. Will look into this later this week... |
A fix got already included in the devel branch and a docker image based on apache2-wsgi got uploaded to docker-hub. Can you please give it a try ( |
I'm getting a deserialization error from cert-manager: |
New devel build got uploaded to dockerhub. Pls try again... |
Okay, now the parsing succeeds, but the created TXT record is still incorrect:
Somehow the value still ended up being set to Found this from the ACME spec:
|
Ok. this explains why regression failed last night as the tests using |
I tested with the latest version and now the certificate was issued successfully. Seems to be working as expected by cert-manager. Thank you! |
Fixes got included in v0.19. Thus, I am closing the issue. |
I'm having issues with cert-manager when issuing wildcard certificates using DNS01 challenges. Cert-manager presents the challenge incorrectly because the authorization object does not contain the wildcard field with value true.
According to the ACME spec:
So when trying to issue a wildcard certificate for
*.example.com
, cert-manager sees that the wildcard-field is missing from the authorization object and so assumes that the certificate is NOT a wildcard certificate. This results in cert-manager creating a TXT record of_acme-challenge.*.example.com
instead of_acme-challenge.example.com
and so the challenge validation never succeeds.The text was updated successfully, but these errors were encountered: