{"action":"created","issue":{"url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/168","labels_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/168/comments","events_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/168/events","html_url":"https://github.com/fmbiete/Z-Push-contrib/issues/168","id":65963298,"number":168,"title":"SMTP Too Strict SSL Checking in PHP5.6","user":{"login":"t3chguy","id":2403652,"avatar_url":"https://avatars.githubusercontent.com/u/2403652?v=3","gravatar_id":"","url":"https://api.github.com/users/t3chguy","html_url":"https://github.com/t3chguy","followers_url":"https://api.github.com/users/t3chguy/followers","following_url":"https://api.github.com/users/t3chguy/following{/other_user}","gists_url":"https://api.github.com/users/t3chguy/gists{/gist_id}","starred_url":"https://api.github.com/users/t3chguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t3chguy/subscriptions","organizations_url":"https://api.github.com/users/t3chguy/orgs","repos_url":"https://api.github.com/users/t3chguy/repos","events_url":"https://api.github.com/users/t3chguy/events{/privacy}","received_events_url":"https://api.github.com/users/t3chguy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-02T16:28:55Z","updated_at":"2015-04-03T09:00:47Z","closed_at":null,"body":"```\r\n02/04/2015 17:26:02 [19653] [DEBUG] [postmaster@webdevguru.co.uk] Net_SMTP DEBUG: Recv: 220 2.0.0 Ready to start TLS\r\n02/04/2015 17:26:02 [19653] [ WARN] [postmaster@webdevguru.co.uk] /var/www/z-push-contrib/include/Net/Socket.php:697 stream_socket_enable_crypto(): Peer certificate CN=`phoenix.webdevguru.co.uk' did not match expected CN=`localhost' (2)\r\n02/04/2015 17:26:02 [19653] [DEBUG] [postmaster@webdevguru.co.uk] Net_SMTP DEBUG: Send: QUIT\r\n```\r\nlocalhost and 127.0.0.1 are considered secure, and the SSL Checking for them should be ignored, so that the Certificate signed for the External Domain does not get compared to the local URI. Please add this, as a config option so we can override the default strict SSL behaviour.\r\n\r\nEdit:\r\nI think this only affects newer 5.6+ PHP Versions\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/comments/89228724","html_url":"https://github.com/fmbiete/Z-Push-contrib/issues/168#issuecomment-89228724","issue_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/168","id":89228724,"user":{"login":"t3chguy","id":2403652,"avatar_url":"https://avatars.githubusercontent.com/u/2403652?v=3","gravatar_id":"","url":"https://api.github.com/users/t3chguy","html_url":"https://github.com/t3chguy","followers_url":"https://api.github.com/users/t3chguy/followers","following_url":"https://api.github.com/users/t3chguy/following{/other_user}","gists_url":"https://api.github.com/users/t3chguy/gists{/gist_id}","starred_url":"https://api.github.com/users/t3chguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t3chguy/subscriptions","organizations_url":"https://api.github.com/users/t3chguy/orgs","repos_url":"https://api.github.com/users/t3chguy/repos","events_url":"https://api.github.com/users/t3chguy/events{/privacy}","received_events_url":"https://api.github.com/users/t3chguy/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T09:00:47Z","updated_at":"2015-04-03T09:00:47Z","body":"@fmbiete I use a valid certificate externally, but locally its silly having a Certificate signed to \"localhost\""}}