Date:  23 Dec 2014 10:49:26 Hong Kong Time

[PEAR-BUG] Bug #20462 [Fbk]: Can't select HTTPS protocol

NNTP-Posting-Host:  null

Edit report at

 ID:               20462
 Updated by:
 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("");
try {
    $resp = $req->send();
} catch (HTTP_Request2_Exception $e) {
    echo $e->getMessage();

Unable to connect to ssl:// Error:
stream_socket_client(): unable to connect to ssl://
(Unknown error)
stream_socket_client(): Failed to enable crypto
stream_socket_client(): SSL operation failed with code 1. OpenSSL Error
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

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