@@ -1105,6 +1105,10 @@ public function getSoapResponse( $soapUrl, $content, $throwException = true ) {
11051105 curl_setopt ( $ cURLHandle , CURLOPT_RETURNTRANSFER , 1 );
11061106 curl_setopt ( $ cURLHandle , CURLOPT_TIMEOUT , self ::$ connectorTimeout );
11071107
1108+ if ( $ this ->settings ->caPath ) {
1109+ curl_setopt ( $ cURLHandle , CURLOPT_CAINFO , $ this ->settings ->caPath );
1110+ }
1111+
11081112 if ( $ this ->settings ->ignoreSslErrors ) {
11091113 curl_setopt ( $ cURLHandle , CURLOPT_SSL_VERIFYPEER , 0 );
11101114 curl_setopt ( $ cURLHandle , CURLOPT_SSL_VERIFYHOST , 0 );
@@ -1955,6 +1959,10 @@ private function retrieveWsdl( $wsdlUrl ) {
19551959 curl_setopt ( $ wsdlCurl , CURLOPT_CONNECTTIMEOUT , self ::$ connectorTimeout );
19561960 curl_setopt ( $ wsdlCurl , CURLOPT_TIMEOUT , self ::$ connectorTimeout );
19571961
1962+ if ( $ this ->settings ->caPath ) {
1963+ curl_setopt ( $ wsdlCurl , CURLOPT_CAINFO , $ this ->settings ->caPath );
1964+ }
1965+
19581966 if ( $ this ->settings ->ignoreSslErrors ) {
19591967 curl_setopt ( $ wsdlCurl , CURLOPT_SSL_VERIFYPEER , 0 );
19601968 curl_setopt ( $ wsdlCurl , CURLOPT_SSL_VERIFYHOST , 0 );
0 commit comments