Docker Community Forums

Share and learn in the Docker community.

Trusted registry certificate location on Windows


(Dls314) #1

Expected behavior

For a trusted registry on port 5000 at host.example.com, I expect to place *.crt files for the root CA, intermediate CA, and registry server in the directory %PROGRAMDATA%\certs.d\host.example.com5000 for Docker for Windows.

Then, I expect the command “docker login -u user -p pass host.example.com:5000” to work correctly.

Actual behavior

Error response from daemon: Get https://host.example.com:5000/v1/users/: x509: certificate signed by unknown authority

Information

A diagnostic was uploaded with id: 2457262E-35C4-4751-AF83-5C25E9D4E312/2016-06-28_09-48-18

I see this issue in the GitHub issues: https://github.com/docker/docker/issues/21189 with no resolution.
Am I in this case?
Is there a work around?