forked from TrueCloudLab/certificates
Fix SANs for step-ca certificate
Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
This commit is contained in:
parent
c4ff0f1cc3
commit
ea5f7f2acc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue