{"action":"created","issue":{"url":"https://api.github.com/repos/guzzle/guzzle/issues/1154","labels_url":"https://api.github.com/repos/guzzle/guzzle/issues/1154/labels{/name}","comments_url":"https://api.github.com/repos/guzzle/guzzle/issues/1154/comments","events_url":"https://api.github.com/repos/guzzle/guzzle/issues/1154/events","html_url":"https://github.com/guzzle/guzzle/issues/1154","id":92132403,"number":1154,"title":"Verify = false option is not being respected","user":{"login":"ftdysa","id":2029421,"avatar_url":"https://avatars.githubusercontent.com/u/2029421?v=3","gravatar_id":"","url":"https://api.github.com/users/ftdysa","html_url":"https://github.com/ftdysa","followers_url":"https://api.github.com/users/ftdysa/followers","following_url":"https://api.github.com/users/ftdysa/following{/other_user}","gists_url":"https://api.github.com/users/ftdysa/gists{/gist_id}","starred_url":"https://api.github.com/users/ftdysa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftdysa/subscriptions","organizations_url":"https://api.github.com/users/ftdysa/orgs","repos_url":"https://api.github.com/users/ftdysa/repos","events_url":"https://api.github.com/users/ftdysa/events{/privacy}","received_events_url":"https://api.github.com/users/ftdysa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-30T16:03:35Z","updated_at":"2015-06-30T16:12:04Z","closed_at":null,"body":"It doesn't look like the following works anymore:\r\n\r\n```php\r\n$client = new Client(['verify' => false]);\r\n```\r\n\r\nI know all about the security implications but I've got to make this work for a short period of time.\r\n\r\nHere is a sample script that shows it being broken ...\r\n\r\n```php\r\n<?php\r\n\r\nrequire 'vendor/autoload.php';\r\n\r\n$ch = curl_init('https://example.com');\r\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);\r\ncurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);\r\n\r\n$result = curl_exec($ch); // This works\r\n\r\n$client = new \\GuzzleHttp\\Client(['verify' => false]);\r\n$response = $client->get('https://example.com'); // This does not work\r\n````\r\n\r\nAlso, CurlFactory has a warning.\r\n\r\n```\r\nWarning: curl_setopt_array(): Array keys must be CURLOPT constants or equivalent integer values in /path/to/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 56\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/guzzle/guzzle/issues/comments/117241193","html_url":"https://github.com/guzzle/guzzle/issues/1154#issuecomment-117241193","issue_url":"https://api.github.com/repos/guzzle/guzzle/issues/1154","id":117241193,"user":{"login":"mtdowling","id":190930,"avatar_url":"https://avatars.githubusercontent.com/u/190930?v=3","gravatar_id":"","url":"https://api.github.com/users/mtdowling","html_url":"https://github.com/mtdowling","followers_url":"https://api.github.com/users/mtdowling/followers","following_url":"https://api.github.com/users/mtdowling/following{/other_user}","gists_url":"https://api.github.com/users/mtdowling/gists{/gist_id}","starred_url":"https://api.github.com/users/mtdowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtdowling/subscriptions","organizations_url":"https://api.github.com/users/mtdowling/orgs","repos_url":"https://api.github.com/users/mtdowling/repos","events_url":"https://api.github.com/users/mtdowling/events{/privacy}","received_events_url":"https://api.github.com/users/mtdowling/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T16:12:04Z","updated_at":"2015-06-30T16:12:04Z","body":"Weird. This works on my system without issue. I also don't get any warnings about CURLOPT constants.\r\n\r\nHere's my user-agent: `GuzzleHttp/6.0.1 curl/7.42.1 PHP/5.6.9`\r\n\r\n```php\r\n$ php -v\r\nPHP 5.6.9 (cli) (built: May 20 2015 17:26:38) \r\nCopyright (c) 1997-2015 The PHP Group\r\nZend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies\r\n    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies\r\n```\r\n\r\nCan you set the `debug` option to true and provide the output?"}}