forked from TrueCloudLab/certificates
Add AuthorityKeyId to cloudkms root cert.
This commit is contained in:
parent
97508ca215
commit
89e164dad6
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ func createPKI(c *cloudkms.CloudKMS, project, location, keyRing string, protecti
|
|||
Subject: pkix.Name{CommonName: "Smallstep Root"},
|
||||
SerialNumber: mustSerialNumber(),
|
||||
SubjectKeyId: mustSubjectKeyID(resp.PublicKey),
|
||||
AuthorityKeyId: mustSubjectKeyID(resp.PublicKey),
|
||||
}
|
||||
|
||||
b, err := x509.CreateCertificate(rand.Reader, root, root, resp.PublicKey, signer)
|
||||
|
|
Loading…
Reference in a new issue