# Error validating certificates

**URL:** <https://forums.docker.com/t/error-validating-certificates/30591>\
**Category:** General\
**Created:** [April 3, 2017, 1:16pm UTC](https://forums.docker.com/t/error-validating-certificates/30591 "2017-04-03T13:16:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![141984](https://avatars.discourse-cdn.com/v4/letter/1/c37758/32.png) [@141984](https://forums.docker.com/u/141984)\
**Post date:** [April 3, 2017, 1:16pm UTC](https://forums.docker.com/t/error-validating-certificates/30591/1 "2017-04-03T13:16:23Z")

</div>

Hi,

I’m getting this error

> Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host “192.168.99.102:2376”: tls: DialWithDialer timed out

while trying to create a docker machine on Mac.

I’m running  
\> $ docker -v  
\> Docker version 17.03.1-ce, build c6d412e  
\> $ docker-machine -v  
\> docker-machine version 0.10.0, build 76ed2a6

> MAC OS 10.12.3 and VirtualBox 5.0.10 r104061

I have tried re-generating the certs, re-installing VM and docker and restarting the laptop, but still not able to fix this issue.

I am able to ssh to the docker-machine, but

> docker-machine create --driver=virtualbox vbox-test  
> docker-machine env vbox-test  
> eval “$(docker-machine env vbox-test)”

fails with the above error message

Any fix for this?
