Merge pull request #8908 from linkvt/add-common-names-to-certificate-SANs

Add "minikube" and machineName to docker certificate SANs
pull/8914/head
Medya Ghazizadeh 2020-08-04 09:50:38 -07:00 committed by GitHub
commit 8698f9efbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ func configureAuth(p miniProvisioner) error {
}
// The Host IP is always added to the certificate's SANs list
hosts := append(authOptions.ServerCertSANs, ip, "localhost", "127.0.0.1")
hosts := append(authOptions.ServerCertSANs, ip, "localhost", "127.0.0.1", "minikube", machineName)
glog.Infof("generating server cert: %s ca-key=%s private-key=%s org=%s san=%s",
authOptions.ServerCertPath,
authOptions.CaCertPath,