What version of Go are you using (go version)?
1.10.
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
Linux amd64.
What did you do?
https://play.golang.org/p/ITwuMz9qN4z
What did you expect to see?
No error.
What did you see instead?
verification failure: x509: a root or intermediate certificate is not authorized for an extended key usage: EKU not permitted: asn1.ObjectIdentifier{2, 16, 840, 1, 113741, 1, 2, 3}
What version of Go are you using (
go version)?1.10.
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env)?Linux amd64.
What did you do?
https://play.golang.org/p/ITwuMz9qN4z
What did you expect to see?
No error.
What did you see instead?
verification failure: x509: a root or intermediate certificate is not authorized for an extended key usage: EKU not permitted: asn1.ObjectIdentifier{2, 16, 840, 1, 113741, 1, 2, 3}