Add "minikube" and machineName to docker certificate SANs

See #6367
pull/8908/head
Vincent Link 2020-08-02 20:02:21 +02:00
parent 5ba7281a0a
commit e95f279449
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,