[PEAR-BUG] Bug #20462 [Fbk]: Can't select HTTPS protocol
[email protected] Tue, 23 Dec 2014 02:49:26 +0000 (GMT)
| Newsgroups | php.pear.bugs |
|---|---|
| Message-ID | <[email protected]> |
Edit report at https://pear.php.net/bugs/bug.php?id=20462&edit=1 ID: 20462 Updated by: [email protected] Reported By: mnewton at pofp dot com Summary: Can't select HTTPS protocol Status: Feedback Type: Bug Package: HTTP_Request2 Operating System: OS X Package Version: 2.2.1 PHP Version: 5.5.19 Roadmap Versions: New Comment: Like I said, any site not running SSL. Which is a lot more lately, and will continue to be more and more. Hopefully within a year or two there will be very few SSL sites left. $req = new HTTP_Request2("https://sni.velox.ch"); try { $resp = $req->send(); } catch (HTTP_Request2_Exception $e) { echo $e->getMessage(); } Unable to connect to ssl://sni.velox.ch:443. Error: stream_socket_client(): unable to connect to ssl://sni.velox.ch:443 (Unknown error) stream_socket_client(): Failed to enable crypto stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Previous Comments: ------------------------------------------------------------------------ [2014-12-20 21:41:21] avb -Status: Open +Status: Feedback Please provide the site's address so that I can test this. ------------------------------------------------------------------------ [2014-12-13 00:36:06] miken32 Description: ------------ Trying to connect to a secure site that only implemented TLS, and kept getting errors. Had to hack your code to make the URI protocol tls:// instead of ssl:// This should probably be a configurable feature, and should probably default to TLS, in this post-POODLE era. ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=20462&edit=1