[wp-trac] [WordPress Trac] #25007: WP_HTTP_Fsockopen does not verify SSL certificates

WordPress Trac noreply at wordpress.org
Mon Sep 23 12:50:36 UTC 2013


#25007: WP_HTTP_Fsockopen does not verify SSL certificates
------------------------------+------------------
 Reporter:  rmccue            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.7
Component:  HTTP              |     Version:
 Severity:  major             |  Resolution:
 Keywords:  needs-unit-tests  |
------------------------------+------------------

Comment (by godhulii_1985):

 I tried with {{{ wp_remote_get()}}} but cannot make it work. My code
 fragment was:

 {{{
 $response1 = wp_remote_get( $apiurl, array('sslverify' => true));
 if( is_wp_error($response1) )
         throw new Exception($response1->get_error_message());
 echo '<pre>';
 print_r( $response1);
 echo '</pre>';

 ===Result===
 Caught exception: SSL certificate problem, verify that the CA cert is OK.
 Details: error:14090086:SSL
 routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

 }}}

 From dashboard: '''You are using WordPress 3.6.1.'''

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25007#comment:51>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list