Documentation for crypto/x509.CreateCertficiate on the current golang.org page enumerates a list of fields from the certificate template that are considered when creating a certificate.
It omits the AuthorityKeyId field, but the source for buildExtensions, called by CreateCertificate, implies otherwise.
I would expect AuthorityKeyId to be added to the list of fields mentioned above in the documentation.
Documentation for
crypto/x509.CreateCertficiateon the current golang.org page enumerates a list of fields from the certificate template that are considered when creating a certificate.It omits the
AuthorityKeyIdfield, but the source forbuildExtensions, called byCreateCertificate, implies otherwise.I would expect
AuthorityKeyIdto be added to the list of fields mentioned above in the documentation.