-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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
crypto/x509: bad error message #16834
Labels
Milestone
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The error message is bad with this likely corrupt X.509 certificate:
https://play.golang.org/p/I8S80_1P1p
I think the certificate fails to decode somehow but this error is not raised for some reason.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go 1.7 (playground)
What operating system and processor architecture are you using (
go env
)?go playground
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
https://play.golang.org/p/I8S80_1P1p
What did you expect to see?
success, certificate valid
OR
error why X.509 certificate is corrupt
What did you see instead?
Error "x509: certificate is valid for , not domain-match.badtls.io"
The text was updated successfully, but these errors were encountered: