mirror of
https://github.com/docker/docs.git
synced 2026-11-05 00:14:17 +03:00
Merge pull request #2065 from dgageot/adding-localhost-to-alt_names
Adding localhost to the list of alt_names
This commit is contained in:
@@ -95,7 +95,7 @@ func ConfigureAuth(p Provisioner) error {
|
||||
// TODO: Switch to passing just authOptions to this func
|
||||
// instead of all these individual fields
|
||||
err = cert.GenerateCert(
|
||||
[]string{ip},
|
||||
[]string{ip, "localhost"},
|
||||
authOptions.ServerCertPath,
|
||||
authOptions.ServerKeyPath,
|
||||
authOptions.CaCertPath,
|
||||
|
||||
Reference in New Issue
Block a user