Docker Community Forums

Share and learn in the Docker community.

How to make docker aware of my company's MITM SSL Cert CA


(Czambran) #1

When using docker-machine you are able to add certs for the docker daemon to use in the /etc/docker folder. I need this since my company decides to use a MITM SSL Certificate. Is there a similar folder for docker for mac?

Information

OS X: version 10.11.4 (build: 15E65)
Docker.app: version v1.11.1-beta13.1
Running diagnostic tests:
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Error exec: echo “00000003.0000f3a6” | nc -U /Users/christianzambrano/Library/Containers/com.docker.docker/Data/@connect > /tmp/20160530-165457/diagnostics.tar: exit 1

Steps to reproduce the behavior

0, Make sure all of your HTTP requests get hijacked by an SSL Cert signed by a CA that the machine doesn’t recognize

  1. Execute the following docker pull couchbase/server:community-3.0.1
  2. You get the following error after a few retries: “x509: certificate signed by unknown authority”