Originally posted by lilkid666
does ne one now how to do this n is willing to explain it to me please or tell me if thier just isent ne way to do this?
Okay so for example if you had somthing like this:
curl_easy_setopt(curl,CURLOPT_SSLCERTTYPE,"PEM");
curl_easy_setopt(curl,CURLOPT_SSLCERT,"/etc/ssl/certs/abc.cert.pem");
curl_easy_setopt(curl,CURLOPT_SSLKEYTYPE,"PEM");
curl_easy_setopt(curl,CURLOPT_SSLKEY,"/etc/ssl/certs/abc.key.pem");
You cant just change the commands above and change the directory cuz the certificate patch is hardcoded as /etc/ssl/ in libcurl
The capath/bundle has a hardcoded default within libcurl, but you can always set your own preferred one with one of the the CA* options.