{"action":"created","issue":{"url":"https://api.github.com/repos/MISP/MISP/issues/583","labels_url":"https://api.github.com/repos/MISP/MISP/issues/583/labels{/name}","comments_url":"https://api.github.com/repos/MISP/MISP/issues/583/comments","events_url":"https://api.github.com/repos/MISP/MISP/issues/583/events","html_url":"https://github.com/MISP/MISP/issues/583","id":99164377,"number":583,"title":"Sync Issue with MISP on CentOS 7","user":{"login":"ddurvaux","id":1773375,"avatar_url":"https://avatars.githubusercontent.com/u/1773375?v=3","gravatar_id":"","url":"https://api.github.com/users/ddurvaux","html_url":"https://github.com/ddurvaux","followers_url":"https://api.github.com/users/ddurvaux/followers","following_url":"https://api.github.com/users/ddurvaux/following{/other_user}","gists_url":"https://api.github.com/users/ddurvaux/gists{/gist_id}","starred_url":"https://api.github.com/users/ddurvaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddurvaux/subscriptions","organizations_url":"https://api.github.com/users/ddurvaux/orgs","repos_url":"https://api.github.com/users/ddurvaux/repos","events_url":"https://api.github.com/users/ddurvaux/events{/privacy}","received_events_url":"https://api.github.com/users/ddurvaux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-05T09:36:08Z","updated_at":"2015-08-05T12:44:07Z","closed_at":null,"body":"Hello,\r\n\r\nWhenever I try to start a synchronisation with a remote MISP server, I got the following error:\r\n\r\nstream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed stream_socket_client(): Failed to enable crypto stream_socket_client(): unable to connect to ssl://misp.foo.bar:443 (Unknown error) \r\n\r\nI search MISP logs without finding anything special.  I try to allow/disallow self-signed certificate without success.  Any idea?\r\n\r\nKr,\r\n\r\nDavid"},"comment":{"url":"https://api.github.com/repos/MISP/MISP/issues/comments/127984281","html_url":"https://github.com/MISP/MISP/issues/583#issuecomment-127984281","issue_url":"https://api.github.com/repos/MISP/MISP/issues/583","id":127984281,"user":{"login":"iglocska","id":3668672,"avatar_url":"https://avatars.githubusercontent.com/u/3668672?v=3","gravatar_id":"","url":"https://api.github.com/users/iglocska","html_url":"https://github.com/iglocska","followers_url":"https://api.github.com/users/iglocska/followers","following_url":"https://api.github.com/users/iglocska/following{/other_user}","gists_url":"https://api.github.com/users/iglocska/gists{/gist_id}","starred_url":"https://api.github.com/users/iglocska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iglocska/subscriptions","organizations_url":"https://api.github.com/users/iglocska/orgs","repos_url":"https://api.github.com/users/iglocska/repos","events_url":"https://api.github.com/users/iglocska/events{/privacy}","received_events_url":"https://api.github.com/users/iglocska/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T12:44:07Z","updated_at":"2015-08-05T12:44:07Z","body":"Is it signed by a signing authority not included in the mozilla certificate\nstore? Is it the well known MISP instance that I am thinking of? :)\n\nIf so you actually need to create a certificate file containing the whole\nchain and upload that!\n\nOn Wed, Aug 5, 2015 at 2:37 PM, David Durvaux <notifications@github.com>\nwrote:\n\n> Hello Andras,\n>\n> Unfortunately I already did import the certificate and it's not a\n> self-signed one :(. It's the certificate of a well known MISP instance on\n> which you should have access. I'm online to give more details if I can :).\n>\n> I suspect that the issue is related to PHP version. CentOS 7 come with\n> PHP5.3 by default. I force upgrade to version 5.5 by using Red Hat Software\n> Collection (https://www.softwarecollections.org/en/scls/rhscl/php55/). I\n> hope it will solve the issue.\n>\n> Kr,\n>\n> David\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/MISP/MISP/issues/583#issuecomment-127983125>.\n>\n"}}