Docker Community Forums

Share and learn in the Docker community.

Calling docker remote api


(Lionelve) #1

I can see that the docker daemon runs on the node with -H tcp:// and all the tls options.

I’ve copied all the pem files to my ubuntu 14.04.4 server to try and connect to the daemon.

When I run

curl -k [https://myserver:2375/info] --cert cert.pem --key key.pem --cacert ca.pem

I get

curl: (35) error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate

$curl -V
$curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f

Why can’t I connect to the daemon? Is it possible?