{"action":"created","issue":{"url":"https://api.github.com/repos/docker/machine/issues/2175","labels_url":"https://api.github.com/repos/docker/machine/issues/2175/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/2175/comments","events_url":"https://api.github.com/repos/docker/machine/issues/2175/events","html_url":"https://github.com/docker/machine/issues/2175","id":115132341,"number":2175,"title":"Machine insists on regenerating certs that should be valid","user":{"login":"amylindburg","id":3268346,"avatar_url":"https://avatars.githubusercontent.com/u/3268346?v=3","gravatar_id":"","url":"https://api.github.com/users/amylindburg","html_url":"https://github.com/amylindburg","followers_url":"https://api.github.com/users/amylindburg/followers","following_url":"https://api.github.com/users/amylindburg/following{/other_user}","gists_url":"https://api.github.com/users/amylindburg/gists{/gist_id}","starred_url":"https://api.github.com/users/amylindburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amylindburg/subscriptions","organizations_url":"https://api.github.com/users/amylindburg/orgs","repos_url":"https://api.github.com/users/amylindburg/repos","events_url":"https://api.github.com/users/amylindburg/events{/privacy}","received_events_url":"https://api.github.com/users/amylindburg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/machine/labels/kind/bug","name":"kind/bug","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"nathanleclaire","id":1476820,"avatar_url":"https://avatars.githubusercontent.com/u/1476820?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanleclaire","html_url":"https://github.com/nathanleclaire","followers_url":"https://api.github.com/users/nathanleclaire/followers","following_url":"https://api.github.com/users/nathanleclaire/following{/other_user}","gists_url":"https://api.github.com/users/nathanleclaire/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanleclaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanleclaire/subscriptions","organizations_url":"https://api.github.com/users/nathanleclaire/orgs","repos_url":"https://api.github.com/users/nathanleclaire/repos","events_url":"https://api.github.com/users/nathanleclaire/events{/privacy}","received_events_url":"https://api.github.com/users/nathanleclaire/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/docker/machine/milestones/7","html_url":"https://github.com/docker/machine/milestones/0.5.2","labels_url":"https://api.github.com/repos/docker/machine/milestones/7/labels","id":1373606,"number":7,"title":"0.5.2","description":"","creator":{"login":"dmp42","id":332946,"avatar_url":"https://avatars.githubusercontent.com/u/332946?v=3","gravatar_id":"","url":"https://api.github.com/users/dmp42","html_url":"https://github.com/dmp42","followers_url":"https://api.github.com/users/dmp42/followers","following_url":"https://api.github.com/users/dmp42/following{/other_user}","gists_url":"https://api.github.com/users/dmp42/gists{/gist_id}","starred_url":"https://api.github.com/users/dmp42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmp42/subscriptions","organizations_url":"https://api.github.com/users/dmp42/orgs","repos_url":"https://api.github.com/users/dmp42/repos","events_url":"https://api.github.com/users/dmp42/events{/privacy}","received_events_url":"https://api.github.com/users/dmp42/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":49,"state":"open","created_at":"2015-10-24T04:11:58Z","updated_at":"2015-12-02T02:21:25Z","due_on":"2015-11-30T08:00:00Z","closed_at":null},"comments":31,"created_at":"2015-11-04T19:46:48Z","updated_at":"2015-12-07T15:03:19Z","closed_at":null,"body":"Installed machine 0.5 via Toolbox 1.9.0.\r\n\r\n```\r\ndocker is configured to use the default machine with IP 192.168.99.100\r\nFor help getting started, check out the docs at https://docs.docker.com\r\n\r\nError running connection boilerplate: Error checking and/or regenerating the certs: There was an error validating certificates for host \"192.168.99.100:2376\": dial tcp 192.168.99.100:2376: getsockopt: connection refused\r\nYou can attempt to regenerate them using 'docker-machine regenerate-certs name'.\r\nBe advised that this will trigger a Docker daemon restart which will stop running containers.\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/machine/issues/comments/162549521","html_url":"https://github.com/docker/machine/issues/2175#issuecomment-162549521","issue_url":"https://api.github.com/repos/docker/machine/issues/2175","id":162549521,"user":{"login":"tijszwinkels","id":140654,"avatar_url":"https://avatars.githubusercontent.com/u/140654?v=3","gravatar_id":"","url":"https://api.github.com/users/tijszwinkels","html_url":"https://github.com/tijszwinkels","followers_url":"https://api.github.com/users/tijszwinkels/followers","following_url":"https://api.github.com/users/tijszwinkels/following{/other_user}","gists_url":"https://api.github.com/users/tijszwinkels/gists{/gist_id}","starred_url":"https://api.github.com/users/tijszwinkels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijszwinkels/subscriptions","organizations_url":"https://api.github.com/users/tijszwinkels/orgs","repos_url":"https://api.github.com/users/tijszwinkels/repos","events_url":"https://api.github.com/users/tijszwinkels/events{/privacy}","received_events_url":"https://api.github.com/users/tijszwinkels/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T15:03:19Z","updated_at":"2015-12-07T15:03:19Z","body":"If this is a separate issue, my apologies;\r\n\r\n I run into having to regenerate certificates every time I docker-machine stop and docker-machine start a machine created with the AWS driver. This seems to be related to the docker-machine changing ip-addresses. Weird. An IP-change should surely be supported.\r\n\r\n```\r\ndocker-machine --debug env docker-machine-`hostname`\r\nDocker Machine Version: 0.5.2 ( 0456b9f )\r\nFound binary path at /usr/local/bin/docker-machine-driver-amazonec2\r\nLaunching plugin server for driver amazonec2\r\nPlugin server listening at address 127.0.0.1:58207\r\n() Calling .GetVersion\r\nUsing API Version 1\r\n() Calling .SetConfigRaw\r\n() Calling .GetMachineName\r\n(docker-machine-12cu-acceptatie) Calling .GetState\r\n(docker-machine-12cu-acceptatie) DBG | Making AWS API call with values:\r\n(docker-machine-12cu-acceptatie) DBG | {\r\n(docker-machine-12cu-acceptatie) DBG |     \"Action\": [\r\n(docker-machine-12cu-acceptatie) DBG |         \"DescribeInstances\"\r\n(docker-machine-12cu-acceptatie) DBG |     ],\r\n(docker-machine-12cu-acceptatie) DBG |     \"InstanceId.1\": [\r\n(docker-machine-12cu-acceptatie) DBG |         \"i-fe0abf42\"\r\n(docker-machine-12cu-acceptatie) DBG |     ],\r\n(docker-machine-12cu-acceptatie) DBG |     \"Version\": [\r\n(docker-machine-12cu-acceptatie) DBG |         \"2014-06-15\"\r\n(docker-machine-12cu-acceptatie) DBG |     ]\r\n(docker-machine-12cu-acceptatie) DBG | }\r\n(docker-machine-12cu-acceptatie) Calling .GetURL\r\n(docker-machine-12cu-acceptatie) DBG | Making AWS API call with values:\r\n(docker-machine-12cu-acceptatie) DBG | {\r\n(docker-machine-12cu-acceptatie) DBG |     \"Action\": [\r\n(docker-machine-12cu-acceptatie) DBG |         \"DescribeInstances\"\r\n(docker-machine-12cu-acceptatie) DBG |     ],\r\n(docker-machine-12cu-acceptatie) DBG |     \"InstanceId.1\": [\r\n(docker-machine-12cu-acceptatie) DBG |         \"i-fe0abf42\"\r\n(docker-machine-12cu-acceptatie) DBG |     ],\r\n(docker-machine-12cu-acceptatie) DBG |     \"Version\": [\r\n(docker-machine-12cu-acceptatie) DBG |         \"2014-06-15\"\r\n(docker-machine-12cu-acceptatie) DBG |     ]\r\n(docker-machine-12cu-acceptatie) DBG | }\r\nReading CA certificate from /var/lib/jenkins/.docker/machine/certs/ca.pem\r\nReading server certificate from /var/lib/jenkins/.docker/machine/machines/docker-machine-12cu-acceptatie/server.pem\r\nReading server key from /var/lib/jenkins/.docker/machine/machines/docker-machine-12cu-acceptatie/server-key.pem\r\nError checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host \"52.29.84.243:2376\": x509: certificate is valid for 52.28.126.68, not 52.29.84.243\r\nYou can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.\r\nBe advised that this will trigger a Docker daemon restart which will stop running containers.\r\n```"}}