-
Notifications
You must be signed in to change notification settings - Fork 542
Step CA fails to load CA containing RFC822 name constraints #271
Copy link
Copy link
Closed
Description
Subject of the issue
Step CA fails to load CA containing RFC822 name constraints.
Your environment
- OS - Linux
- Version - 0.14.3
Steps to reproduce
Produce a CA certificate using the Name Constraint extension, allowing a RFC822 constraint of @domain.com. Attempt to start Step CA using this CA certificate.
Expected behaviour
Step CA should start properly.
Actual behaviour
x509: failed to parse rfc822Name constraint "@domain.com"
error parsing /home/step/certs/intermediate_ca.crt
github.com/smallstep/cli/crypto/pemutil.Parse
/home/travis/gopath/pkg/mod/github.com/smallstep/cli@v0.14.2/crypto/pemutil/pem.go:285
github.com/smallstep/cli/crypto/pemutil.Read
/home/travis/gopath/pkg/mod/github.com/smallstep/cli@v0.14.2/crypto/pemutil/pem.go:319
github.com/smallstep/cli/crypto/pemutil.ReadCertificate
/home/travis/gopath/pkg/mod/github.com/smallstep/cli@v0.14.2/crypto/pemutil/pem.go:172
github.com/smallstep/certificates/authority.(*Authority).init
/home/travis/gopath/src/github.com/smallstep/certificates/authority/authority.go:151
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels