I am using Windows 8 and had installed the docker toolbox. After searching for a bit to solve the connection refused issues I had set following variables:
export DOCKER_TLS_VERIFY=1 and DOCKER_CERT_PATH pointing to the certificate that I had generated.
Now, I get
Could not read CA certificate "C:\X\Y\Z\boo2docker-vm\ca.pem: The system cannot find the path specified. (please note that the path is corect and this is where I created the Certificate.