Skip to content

Commit

Permalink
Added EKU OID when signing cert as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexionescu committed May 31, 2018
1 parent f981461 commit bfc8700
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builtin/logical/pki/cert_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -1268,6 +1268,8 @@ func signCertificate(data *dataBundle) (*certutil.ParsedCertBundle, error) {

addKeyUsages(data, certTemplate)

addExtKeyUsageOids(data, certTemplate)

var certBytes []byte

certTemplate.IssuingCertificateURL = data.params.URLs.IssuingCertificates
Expand Down

0 comments on commit bfc8700

Please sign in to comment.