Docker Community Forums

Share and learn in the Docker community.

Certificate 509 Error When Running Docker-Machine Example on OSX


(Chris55) #1

Environment:
OSX 10.10.5 (14F1605)
Docker version 1.10.2, build c3959b1
docker-machine version 0.6.0, build e27fb87
I am behind a proxy.

I am trying to run the docs docker-machine example that pulls down busybox into a machine. I get the following error:

$ docker run busybox echo hello world
docker: An error occurred trying to connect: Post https://192.168.99.101:2376/v1.22/containers/create: x509: cannot validate certificate for 192.168.99.101 because it doesn’t contain any IP SANs.
See ‘docker run --help’.

I read that OSX uses an incompatible version of openSSL versus Docker. Is there anyway to circumvent or fix this issue? Thanks.


(Nathan Le Claire) #2

See also: https://github.com/docker/machine/issues/3099

Out of curiosity, what’s the output of openssl version on your system?


(Chris55) #3

OpenSSL 0.9.8zg 14 July 2015