{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/6474","labels_url":"https://api.github.com/repos/docker/docker/issues/6474/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/6474/comments","events_url":"https://api.github.com/repos/docker/docker/issues/6474/events","html_url":"https://github.com/docker/docker/issues/6474","id":35874594,"number":6474,"title":" failed to parse certificate from server: x509: negative serial number","user":{"login":"dexterddit","id":6590065,"avatar_url":"https://avatars.githubusercontent.com/u/6590065?v=3","gravatar_id":"","url":"https://api.github.com/users/dexterddit","html_url":"https://github.com/dexterddit","followers_url":"https://api.github.com/users/dexterddit/followers","following_url":"https://api.github.com/users/dexterddit/following{/other_user}","gists_url":"https://api.github.com/users/dexterddit/gists{/gist_id}","starred_url":"https://api.github.com/users/dexterddit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dexterddit/subscriptions","organizations_url":"https://api.github.com/users/dexterddit/orgs","repos_url":"https://api.github.com/users/dexterddit/repos","events_url":"https://api.github.com/users/dexterddit/events{/privacy}","received_events_url":"https://api.github.com/users/dexterddit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2014-06-17T10:06:12Z","updated_at":"2015-03-23T20:46:47Z","closed_at":"2014-07-22T15:08:50Z","body":"This what i get when i try to run  sudo docker run -i -t ubuntu /bin/bash on ubuntu 14.04 \r\nPulling repository ubuntu\r\n2014/06/17 13:04:03 Get https://index.docker.io/v1/repositories/ubuntu/images: failed to parse certificate from server: x509: negative serial number\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/85188222","html_url":"https://github.com/docker/docker/issues/6474#issuecomment-85188222","issue_url":"https://api.github.com/repos/docker/docker/issues/6474","id":85188222,"user":{"login":"daveyarwood","id":4909079,"avatar_url":"https://avatars.githubusercontent.com/u/4909079?v=3","gravatar_id":"","url":"https://api.github.com/users/daveyarwood","html_url":"https://github.com/daveyarwood","followers_url":"https://api.github.com/users/daveyarwood/followers","following_url":"https://api.github.com/users/daveyarwood/following{/other_user}","gists_url":"https://api.github.com/users/daveyarwood/gists{/gist_id}","starred_url":"https://api.github.com/users/daveyarwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daveyarwood/subscriptions","organizations_url":"https://api.github.com/users/daveyarwood/orgs","repos_url":"https://api.github.com/users/daveyarwood/repos","events_url":"https://api.github.com/users/daveyarwood/events{/privacy}","received_events_url":"https://api.github.com/users/daveyarwood/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T20:46:47Z","updated_at":"2015-03-23T20:46:47Z","body":"A-ha! I figured it out. Apparently the date was really 3/1/2015 (resulting in the out-of-date SSL certificate), but when I ran `date` from boot2docker, I was still seeing the current date/time because it was reading it from my host machine. \r\n\r\nFor the benefit of anyone who may be running into similar problems, I ran `boot2docker ssh`, which actually put me in the shell of the VM itself that Docker uses. I then ran `date`, which showed me 3/1/2015. I set it to as close as possible to the current time, like this:\r\n\r\n    sudo date -s '2015-03-23 16:39:00'\r\n\r\nThis fixed the problem, both within the VM itself, and with my boot2docker setup."}}