{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/4902","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/4902/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/4902/comments","events_url":"https://api.github.com/repos/composer/composer/issues/4902/events","html_url":"https://github.com/composer/composer/issues/4902","id":132886901,"number":4902,"title":"install fails due to certificate CN mismatch","user":{"login":"Arunass","id":1088686,"avatar_url":"https://avatars.githubusercontent.com/u/1088686?v=3","gravatar_id":"","url":"https://api.github.com/users/Arunass","html_url":"https://github.com/Arunass","followers_url":"https://api.github.com/users/Arunass/followers","following_url":"https://api.github.com/users/Arunass/following{/other_user}","gists_url":"https://api.github.com/users/Arunass/gists{/gist_id}","starred_url":"https://api.github.com/users/Arunass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arunass/subscriptions","organizations_url":"https://api.github.com/users/Arunass/orgs","repos_url":"https://api.github.com/users/Arunass/repos","events_url":"https://api.github.com/users/Arunass/events{/privacy}","received_events_url":"https://api.github.com/users/Arunass/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/composer/composer/labels/Support","name":"Support","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-11T04:45:35Z","updated_at":"2016-02-13T16:39:01Z","closed_at":null,"body":"I'm trying to install composer on a hosted system and find some surprising challenges.  The biggest appears that the certificate name appears not to match:\r\n```\r\n$ curl -sS https://getcomposer.org/installer | php\r\ncurl: (51) SSL: certificate subject name 'packagist.org' does not match target host name 'getcomposer.org'\r\n```\r\nI can overcome this by supplying the -k flag to curl, but this just results in php complaining about the same thing.\r\n```\r\n\r\nDownloading...\r\nDownload failed: file_get_contents(): Peer certificate CN=`packagist.org' did not match expected CN=`getcomposer.org'\r\nfile_get_contents(): Failed to enable crypto\r\n```"},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/183700327","html_url":"https://github.com/composer/composer/issues/4902#issuecomment-183700327","issue_url":"https://api.github.com/repos/composer/composer/issues/4902","id":183700327,"user":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T16:39:01Z","updated_at":"2016-02-13T16:39:01Z","body":"Can you try using the new installer instructions on https://getcomposer.org/download/ ? It doesn't use curl anymore so might be more widely compatible with such old platforms as CentOS5"}}