Fix SANs for step-ca certificate

Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
pull/894/head
Mariano Cano 2 years ago committed by GitHub
parent c4ff0f1cc3
commit ea5f7f2acc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -546,7 +546,7 @@ func (a *Authority) GetTLSCertificate() (*tls.Certificate, error) {
}
// Create initial certificate request.
cr, err := x509util.CreateCertificateRequest(a.config.CommonName, a.config.DNSNames, signer)
cr, err := x509util.CreateCertificateRequest(a.config.CommonName, sans, signer)
if err != nil {
return fatal(err)
}

Loading…
Cancel
Save