Skip to content

crypto/x509: CANotAuthorizedForExtKeyUsage is premature #24590

Description

@robstradling

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}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions