
 Nicola Mosca - 2007-03-21 19:20:52 - 
In reply to message 3 from Nicola MoscaHere there are my changes, in the method Open near the line 500
if(IsSet($arguments["SSLCaInfo"])){
curl_setopt($this->connection, CURLOPT_SSL_VERIFYPEER, TRUE);
curl_setopt($this->connection,CURLOPT_CAINFO,$arguments["SSLCaInfo"]);
}
if(IsSet($arguments["SSLCaPath"])){
curl_setopt($this->connection, CURLOPT_SSL_VERIFYPEER, TRUE);		curl_setopt($this->connection,CURLOPT_CAPATH,$arguments["SSLCaPath"]);
}
It check's the certificate, but it doesn't abort the connection...this is the debug output:
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
Why continuing anyway?
How can i force curl to abort the connection if the SSL certificate verify result isn't certified?