-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
failed to parse certificate from server: x509: cannot parse dnsName #2188
Comments
golang 1.9 included some extra x509 certificates validation and ingress is being compiled with it or newer. as a workaround, you can generate your own ingress docker image compiling with golang 1.8. for the real fix, probably you need to check some RFCs to back you up and open an issue at golang. https://tools.ietf.org/html/rfc5280#section-4.2.1.6 points to https://tools.ietf.org/html/rfc1034#section-3.5 that says that numbers/digits/dash are ok. |
Looks like the implementation of domainToReverseLabels changed in Go 1.9. The new version no longer supports Removing the |
Just adding some context here since I landed on this issue from a Google search and it wasn't clear to me what the status was. Relevant issue on the golang Github golang/go#23995 The fix appears to be https://golang.org/cl/96378, which was merged into Go 1.10.1 The upgrade to Go 1.10.1 was here: #2273. This change has not yet landed in a release of If you, like me, want to run
Edit: |
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.):
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
NGINX Ingress controller version:
0.11.0
Kubernetes version (use
kubectl version
):Environment:
AWS
uname -a
):Kismatic
What happened:
Installing on a cluster that uses
Amazon Route 53
DNS name as an endpoint for the API server.Error in
0.11.0
that worked with the same setup in the previous versions.The contents of the cert for the api:
What you expected to happen:
Ingress pod should start up as it has before.
How to reproduce it (as minimally and precisely as possible):
Checkout the Kismatic and run:
Anything else we need to know:
I understand this is probably an issue with some downstream dependency would be great to get some direction which project and I can open an issue there.
The text was updated successfully, but these errors were encountered: