Hi,

> Am 29.11.2020 um 15:28 schrieb James Read <jamesread5...@gmail.com>:
> 
> Setting CURLOPT_CAINFO to NULL causes thousands of errors of the type:
> 
> DONE: 
> https://www.gosunoob.com/witcher-3/ballad-heroes-dlc-gwent-card-set/attachment/witcher_3_villentretenmerth_ballad_heroes_gwent_card/
>  
> <https://www.gosunoob.com/witcher-3/ballad-heroes-dlc-gwent-card-set/attachment/witcher_3_villentretenmerth_ballad_heroes_gwent_card/>
>  => (60) SSL certificate problem: unable to get local issuer certificate

setting CURLOPT_CAINFO to NULL will break the default validation of 
certificates. Hence this should only be done if you're not interested in 
validating certificates and disable it completely via

curl_easy_setopt(easy, CURLOPT_SSL_VERIFYPEER, 0);

Important: As mentioned, this will disable SSL peer certificate validation. 
Only do this if you're aware of the implications.

Patrick

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to