i answer myself, hth someone else.
i use SSL just to use a crypted "session" to a target server.
since target server certificate is not really "verified", i need to add
these curl options:
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0);
in order to di
hi all
i use latest apache (1.3.27) with php 4.3.0 + curl 7.10.3
i use php curl function to connect to a remote SSL-ed web server. the
code is as follow:
$ch = curl_init();
$url = 'https://www.example.com/cgi.ext';
curl_setopt ($ch, CURLOPT_URL, $url);
echo '';
curl_exec ($ch);
echo '';
i
2 matches
Mail list logo