diff options
author | John Howard <jhoward@microsoft.com> | 2015-08-04 16:30:00 -0700 |
---|---|---|
committer | John Howard <jhoward@microsoft.com> | 2015-08-05 13:25:41 -0700 |
commit | 831b00303f1979dda6ed66980fc32a65f9229768 (patch) | |
tree | 12173f4785add8bf3241fb0518f1f4d729d784e4 /registry/registry.go | |
parent | aec46ac0b20ea0c912148fcda12207db1bf93c1b (diff) | |
download | docker-831b00303f1979dda6ed66980fc32a65f9229768.tar.gz |
Windows: Fix certificate directory for registry
Signed-off-by: John Howard <jhoward@microsoft.com>
Diffstat (limited to 'registry/registry.go')
-rw-r--r-- | registry/registry.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/registry.go b/registry/registry.go index a3123b965d..408bc8e1fd 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -58,7 +58,7 @@ func newTLSConfig(hostname string, isSecure bool) (*tls.Config, error) { tlsConfig.InsecureSkipVerify = !isSecure if isSecure { - hostDir := filepath.Join(CertsDir, hostname) + hostDir := filepath.Join(CertsDir, cleanPath(hostname)) logrus.Debugf("hostDir: %s", hostDir) if err := ReadCertsDirectory(&tlsConfig, hostDir); err != nil { return nil, err |