title: Docker-machine create with generic driver, Certificates not working but SSH does
body: <p>Im trying to get a docker-machine up and running on a Ubuntu 14.04TSL server in our network. I have installed docker+docker-machine on the server and im able to create the docker-machine on the server with this command from my computer:</p>
  
  <pre><code>docker-machine create --driver generic --generic-ip-address 10.10.3.76 --generic-ssh-key "/Users/username/Documents/keys/mysshkey.pem" --generic-ssh-user ubuntuuser dockermachinename
  </code></pre>
  
  <p>The command above creates the docker-machine and im able to list it with </p>
  
  <pre><code>docker-machine ls
  </code></pre>
  
  <p>Im able to SSH to it by running </p>
  
  <pre><code>docker-machine ssh dockermachinename
  </code></pre>
  
  <p>but when i try to connect the server with (-D for debug information)</p>
  
  <pre><code>docker-machine -D env dockermachinename
  </code></pre>
  
  <p>I get the following message</p>
  
  <pre><code>Docker Machine Version: 0.5.2 ( 0456b9f )
  Found binary path at /usr/local/bin/docker-machine-driver-generic
  Launching plugin server for driver generic
  Plugin server listening at address 127.0.0.1:54213
  () Calling .GetVersion
  Using API Version 1
  () Calling .SetConfigRaw
  () Calling .GetMachineName
  (dockermachinename) Calling .GetState
  (dockermachinename) Calling .GetURL
  Reading CA certificate from /Users/username/.docker/machine/certs/ca.pem
  Reading server certificate from /Users/username/.docker/machine/machines/dockermachinename/server.pem
  Reading server key from /Users/username/.docker/machine/machines/dockermachinename/server-key.pem
  Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "10.10.3.76:2376": dial tcp 10.10.3.76:2376: i/o timeout
  You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
  Be advised that this will trigger a Docker daemon restart which will stop running containers.
  </code></pre>
  
  <p>I really need to solve this so all help is appreciated!</p>