Merge pull request #8908 from linkvt/add-common-names-to-certificate-SANs
Add "minikube" and machineName to docker certificate SANspull/8914/head
commit
8698f9efbd
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue