{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/6474","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/6474/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/6474/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/6474/events","html_url":"https://github.com/ansible/ansible/issues/6474","id":29365933,"number":6474,"title":"SSL verification fails","user":{"login":"kodieg","id":1275576,"avatar_url":"https://avatars.githubusercontent.com/u/1275576?v=3","gravatar_id":"","url":"https://api.github.com/users/kodieg","html_url":"https://github.com/kodieg","followers_url":"https://api.github.com/users/kodieg/followers","following_url":"https://api.github.com/users/kodieg/following{/other_user}","gists_url":"https://api.github.com/users/kodieg/gists{/gist_id}","starred_url":"https://api.github.com/users/kodieg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kodieg/subscriptions","organizations_url":"https://api.github.com/users/kodieg/orgs","repos_url":"https://api.github.com/users/kodieg/repos","events_url":"https://api.github.com/users/kodieg/events{/privacy}","received_events_url":"https://api.github.com/users/kodieg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible/labels/needs_info","name":"needs_info","color":"eb6420"},{"url":"https://api.github.com/repos/ansible/ansible/labels/P2","name":"P2","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2014-03-13T16:30:53Z","updated_at":"2016-04-15T17:29:43Z","closed_at":"2014-03-29T19:17:41Z","body":"##### Issue Type:\r\n\r\nProblem with SSL verification \r\n\r\n##### Ansible Version:\r\n\r\n```ansible 1.5.2```\r\ninstalled via pip\r\n\r\n##### Environment:\r\n\r\nUbuntu 12.04\r\n\r\n##### Summary:\r\n\r\nWhen I try to fetch any URL via https I get SSL verification error\r\n\r\n##### Steps To Reproduce:\r\n\r\n```\r\nansible -i 127.0.0.1, \"*\" -m 'get_url'  -a'url=\"https://www.postgresql.org\" dest=/tmp/x'\r\n```\r\n```\r\n\r\n##### Expected Results:\r\n\r\nDownloaded file.\r\n\r\n##### Actual Results:\r\n\r\n127.0.0.1 | FAILED >> {\r\n    \"failed\": true, \r\n    \"msg\": \"failed to validate the SSL certificate for www.postgresql.org:443. You can use validate_certs=no, however this is unsafe and not recommended '/usr/share/ca-certificates/cacert.org/cacert.org.crt'\"\r\n}\r\n```\r\n\r\n\r\nI am on ubuntu 12.04. Script found some certs here /usr/share/ca-certificates/cacert.org/cacert.org.crt and failed to verify postgresql certificate. Any ideas why?"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/210556056","html_url":"https://github.com/ansible/ansible/issues/6474#issuecomment-210556056","issue_url":"https://api.github.com/repos/ansible/ansible/issues/6474","id":210556056,"user":{"login":"lpaulmp","id":4852949,"avatar_url":"https://avatars.githubusercontent.com/u/4852949?v=3","gravatar_id":"","url":"https://api.github.com/users/lpaulmp","html_url":"https://github.com/lpaulmp","followers_url":"https://api.github.com/users/lpaulmp/followers","following_url":"https://api.github.com/users/lpaulmp/following{/other_user}","gists_url":"https://api.github.com/users/lpaulmp/gists{/gist_id}","starred_url":"https://api.github.com/users/lpaulmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpaulmp/subscriptions","organizations_url":"https://api.github.com/users/lpaulmp/orgs","repos_url":"https://api.github.com/users/lpaulmp/repos","events_url":"https://api.github.com/users/lpaulmp/events{/privacy}","received_events_url":"https://api.github.com/users/lpaulmp/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T17:29:43Z","updated_at":"2016-04-15T17:29:43Z","body":"@ohmfox please let us if you find some solution :)"}}