[MacPorts] #47805: curl @7.42.1_0+ssl, openssl @1.0.2a_0 - SSL certificate problem: unable to get local issuer certificate

MacPorts noreply at macports.org
Fri May 22 00:43:27 PDT 2015


#47805: curl @7.42.1_0+ssl, openssl @1.0.2a_0 - SSL certificate problem: unable to
get local issuer certificate
----------------------+--------------------------------
 Reporter:  fabien@…  |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.3.3
 Keywords:            |       Port:
----------------------+--------------------------------
 Hi,

 I've a CA certifcate validation issu with some libraries : cUrl (binary or
 PHP's extension), php Soap, and propably all library who need to validate
 CA certificate (openssl issu ?).

 I'm under OSX 10.10.3, with the last Xcode.

 {{{
 $wsdl = "https://www.chronopost.fr/recherchebt-ws-
 cxf/PointRelaisServiceWS?wsdl";
 $curl = curl_init($wsdl);
 $result = curl_exec($curl);

 echo curl_error($curl);

 }}}

 Returns this error :

 {{{
 SSL certificate problem: unable to get local issuer certificate
 }}}

 The unique way I found to solve the issu for cUrl is to use the port
 "certsync" instead of "curl-ca-bundle".
 Openssl is still not able to validate CA :

 {{{
 openssl s_client -showcerts -connect www.google.com:443
 }}}

 returns :

 {{{
 ....
 Verify return code: 20 (unable to get local issuer certificate)
 }}}

 I don't know what to do, is it a bug ?

 Thx,
 Fabien

-- 
Ticket URL: <https://trac.macports.org/ticket/47805>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list