Docker Community Forums

Share and learn in the Docker community.

Docker-Nexus with self-signed certificate with 1.11.1-b13


(Igt4444) #1

Expected behavior

Manage to connect to local nexus repo

Actual behavior

x509: certificate signed by unknown authority

Information

I set-up a nexus repo for docker with a self-signed cert.
When using the older (non Hyper-V) version of docker, I could jump into the linux VM and inject the custom certificate, so everything worked fine.
With this new version I tried the following, but it didn’t work:

  1. Import the certificate using certmgr.msc
  2. Paste the certificate text into ca.pem

Steps to reproduce the behavior

  1. Request: docker login https://server:8600
  2. Response: Error response from daemon: Get https://server:8600/v1/users/: x509: certificate signed by unknown authority