curl / Mailing Lists / curl-library / Single Mail

curl-library

Allow empty CURLOPT_CAINFO when there is a valid CURLOPT_CAPATH

From: Alex Khouderchah via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 27 Feb 2019 16:11:05 -0800

Hey all,

It seems like CURLOPT_CAINFO is always required to refer to a valid cert
file (when we're actually verifying certs), whereas CURLOPT_CAPATH is
allowed to be empty or refer to a non-existent directory. I'm unclear why
this asymmetry exists. Is there a reason why CURLOPT_CAINFO shouldn't be
allowed to be empty/invalid if CURLOPT_CAPATH is valid?

Thanks,
Alex

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-02-28