Closed fredzannarbor closed 5 years ago
Thanks for trying wptools, @fredzannarbor!
We use certifi for certificate verification with pycurl.
wptools/wptools/request.curl_setup():
crl = pycurl.Curl()
crl.setopt(pycurl.USERAGENT, user_agent())
crl.setopt(pycurl.FOLLOWLOCATION, True)
crl.setopt(pycurl.CAINFO, certifi.where())
If you want to provide your own CA bundle, we can expose CAINFO
or CAPATH
(see curl_easy_setopt docs).
Is that what you're looking for, or something else? How would you expect it to work?
Feel free to re-open if you want to continue the conversation @fredzannarbor.