Skip to content

Commit

Permalink
Set EKU on TLD CA
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRand committed Feb 17, 2021
1 parent ad9434a commit 24813e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_tld_ca.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func GenerateTLDCA(domain string, parentDERBytes []byte, parentPrivateKey interf
IsCA: true,
//KeyUsage: x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature,
KeyUsage: x509.KeyUsageCertSign,
//ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth},
ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth},
BasicConstraintsValid: true,

PermittedDNSDomainsCritical: true,
Expand Down

0 comments on commit 24813e7

Please sign in to comment.