| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
need help
From: Aniruddha Diwakar <aniruddha_diwakar_at_persistent.co.in>
Date: Wed, 2 Mar 2005 09:59:16 +0530
Hello,
I am using libCURL for client cert authentication is any body has worked on
I am in bit confusion regarding this client cert authentication.
Apache (1.3) webserver's httpd.conf file contains one directive
Suppose if I try this functionality thr' the code as below by setting this
curl_easy_setopt(curl, CURLOPT_URL, https://ps0733:7878/);
if(rc=curl_easy_setopt(curl,CURLOPT_CAPATH,"/home/qa/software/ws/apache/apac
{
fprintf(headerfile,"can't set ca path\n");
}
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST,1);
res = curl_easy_perform(curl);
however if we set this directive to require then it will show the attached
OpenSSL: error:140890C7:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:peer did
that means server is waiting for client certificate. can you please let me
Also please let me kno what exactly CURLOPT_SSL_VERIFYPEER does.
Regards
Aniruddha
Aniruddha Diwakar
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info