{"action":"created","issue":{"url":"https://api.github.com/repos/docker/machine/issues/673","labels_url":"https://api.github.com/repos/docker/machine/issues/673/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/673/comments","events_url":"https://api.github.com/repos/docker/machine/issues/673/events","html_url":"https://github.com/docker/machine/issues/673","id":59386167,"number":673,"title":"An error occurred trying to connect: Get https://192.168.xx.xx:2376/v1.18/containers/json: remote error: bad certificate","user":{"login":"IbnSaeed","id":75794,"avatar_url":"https://avatars.githubusercontent.com/u/75794?v=3","gravatar_id":"","url":"https://api.github.com/users/IbnSaeed","html_url":"https://github.com/IbnSaeed","followers_url":"https://api.github.com/users/IbnSaeed/followers","following_url":"https://api.github.com/users/IbnSaeed/following{/other_user}","gists_url":"https://api.github.com/users/IbnSaeed/gists{/gist_id}","starred_url":"https://api.github.com/users/IbnSaeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IbnSaeed/subscriptions","organizations_url":"https://api.github.com/users/IbnSaeed/orgs","repos_url":"https://api.github.com/users/IbnSaeed/repos","events_url":"https://api.github.com/users/IbnSaeed/events{/privacy}","received_events_url":"https://api.github.com/users/IbnSaeed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-01T07:02:41Z","updated_at":"2015-05-14T04:12:41Z","closed_at":null,"body":"Hello\r\n\r\nI am getting the following error message when running . in windows 8.1\r\n```\r\ndocker $(dm config dev) ps\r\n\r\n An error occurred trying to connect: Get https://192.168.xx.xx:2376/v1.18/containers/json: remote error: bad certificate\r\n```\r\nHere is the docker version command\r\n\r\n```\r\ndocker version\r\nClient version: 1.5.0-dev\r\nClient API version: 1.18\r\nGo version (client): go1.4.2\r\nGit commit (client): a61716e\r\nOS/Arch (client): windows/amd64\r\nFATA[0000] Get http://192.168.xx.xx:2376/v1.18/version: malformed HTTP response \"\\x15\\x03\\x01\\x00\\x02\\x02\". Are you trying to connect to a TLS-enabled daemon without TLS?\r\n```\r\n\r\nHere is the docker-machine version\r\n```\r\ndocker-machine  version 0.1.0\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/machine/issues/comments/101903999","html_url":"https://github.com/docker/machine/issues/673#issuecomment-101903999","issue_url":"https://api.github.com/repos/docker/machine/issues/673","id":101903999,"user":{"login":"ramoneguru","id":476482,"avatar_url":"https://avatars.githubusercontent.com/u/476482?v=3","gravatar_id":"","url":"https://api.github.com/users/ramoneguru","html_url":"https://github.com/ramoneguru","followers_url":"https://api.github.com/users/ramoneguru/followers","following_url":"https://api.github.com/users/ramoneguru/following{/other_user}","gists_url":"https://api.github.com/users/ramoneguru/gists{/gist_id}","starred_url":"https://api.github.com/users/ramoneguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramoneguru/subscriptions","organizations_url":"https://api.github.com/users/ramoneguru/orgs","repos_url":"https://api.github.com/users/ramoneguru/repos","events_url":"https://api.github.com/users/ramoneguru/events{/privacy}","received_events_url":"https://api.github.com/users/ramoneguru/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T04:12:41Z","updated_at":"2015-05-14T04:12:41Z","body":"Had a similar error as @gusun1 after upgrading boot2docker and running the following commands:\r\n```\r\n[~]$ eval \"$(boot2docker shellinit)\"\r\nWriting /Users/nesquerra/.boot2docker/certs/boot2docker-vm/ca.pem\r\nWriting /Users/nesquerra/.boot2docker/certs/boot2docker-vm/cert.pem\r\nWriting /Users/nesquerra/.boot2docker/certs/boot2docker-vm/key.pem\r\n```\r\nWorked fine, so I ran the hello-world:\r\n```\r\n[~]$ docker run hello-world\r\nUnable to find image 'hello-world:latest' locally\r\nlatest: Pulling from hello-world\r\na8219747be10: Pull complete\r\n91c95931e552: Already exists\r\nhello-world:latest: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.\r\nDigest: sha256:<sha-digest>\r\nStatus: Downloaded newer image for hello-world:latest\r\nFATA[0011] remote error: bad certificate\r\n```\r\nGot a fatal, printed out the version and such\r\n```\r\n[~]$ docker version\r\nClient version: 1.6.1\r\nClient API version: 1.18\r\nGo version (client): go1.4.2\r\nGit commit (client): 97cd073\r\nOS/Arch (client): darwin/amd64\r\nFATA[0000] An error occurred trying to connect: Get https://192.168.59.103:2376/v1.18/version: remote error: bad certificate\r\n```\r\nThen restarted:\r\n```\r\n[~]$ boot2docker restart\r\n[~]$ docker run hello-world\r\nHello from Docker.\r\nThis message shows that your installation appears to be working correctly.\r\n\r\nTo generate this message, Docker took the following steps:\r\n 1. The Docker client contacted the Docker daemon.\r\n 2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub.\r\n    (Assuming it was not already locally available.)\r\n 3. The Docker daemon created a new container from that image which runs the\r\n    executable that produces the output you are currently reading.\r\n 4. The Docker daemon streamed that output to the Docker client, which sent it\r\n    to your terminal.\r\n\r\nTo try something more ambitious, you can run an Ubuntu container with:\r\n $ docker run -it ubuntu bash\r\n\r\nFor more examples and ideas, visit:\r\n http://docs.docker.com/userguide/\r\n```\r\nSeemed to get the appropriate output after the restart."}}