Post: changing a ssl certificate path?
03-29-2011, 05:43 AM #1
lilkid666
A.K.A Alez003
(adsbygoogle = window.adsbygoogle || []).push({}); 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?
(adsbygoogle = window.adsbygoogle || []).push({});
03-29-2011, 11:44 PM #2
Cody_h4x
Nobody is like me
Originally posted by lilkid666 View Post
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.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo