Skip to content

Commit

Permalink
Add CRL signing key usage to CA (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
np5 authored and groob committed Nov 4, 2017
1 parent 5428c80 commit 0fbc95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/scepserver/scepserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func createCertificateAuthority(key *rsa.PrivateKey, years int, organization str
NotBefore: time.Now().Add(-600).UTC(),
NotAfter: time.Time{},
// Used for certificate signing only
KeyUsage: x509.KeyUsageCertSign,
KeyUsage: x509.KeyUsageCertSign | x509.KeyUsageCRLSign,

ExtKeyUsage: nil,
UnknownExtKeyUsage: nil,
Expand Down

0 comments on commit 0fbc95c

Please sign in to comment.