@@ -1105,6 +1105,10 @@ public function getSoapResponse( $soapUrl, $content, $throwException = true ) {
1105
1105
curl_setopt ( $ cURLHandle , CURLOPT_RETURNTRANSFER , 1 );
1106
1106
curl_setopt ( $ cURLHandle , CURLOPT_TIMEOUT , self ::$ connectorTimeout );
1107
1107
1108
+ if ( $ this ->settings ->caPath ) {
1109
+ curl_setopt ( $ cURLHandle , CURLOPT_CAINFO , $ this ->settings ->caPath );
1110
+ }
1111
+
1108
1112
if ( $ this ->settings ->ignoreSslErrors ) {
1109
1113
curl_setopt ( $ cURLHandle , CURLOPT_SSL_VERIFYPEER , 0 );
1110
1114
curl_setopt ( $ cURLHandle , CURLOPT_SSL_VERIFYHOST , 0 );
@@ -1955,6 +1959,10 @@ private function retrieveWsdl( $wsdlUrl ) {
1955
1959
curl_setopt ( $ wsdlCurl , CURLOPT_CONNECTTIMEOUT , self ::$ connectorTimeout );
1956
1960
curl_setopt ( $ wsdlCurl , CURLOPT_TIMEOUT , self ::$ connectorTimeout );
1957
1961
1962
+ if ( $ this ->settings ->caPath ) {
1963
+ curl_setopt ( $ wsdlCurl , CURLOPT_CAINFO , $ this ->settings ->caPath );
1964
+ }
1965
+
1958
1966
if ( $ this ->settings ->ignoreSslErrors ) {
1959
1967
curl_setopt ( $ wsdlCurl , CURLOPT_SSL_VERIFYPEER , 0 );
1960
1968
curl_setopt ( $ wsdlCurl , CURLOPT_SSL_VERIFYHOST , 0 );
0 commit comments