Comment 1 for bug 82086

Revision history for this message
John A Meinel (jameinel) wrote :

A simple fix is to just create an "InvalidCertificate" error, with 'internal_error=False', and a fairly nice error message.

The page you mentioned is for the "curl" commandline front end. For the library, usually this is more relevant:
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html

And specifically:
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#SSL

This can easily go along with the earlier discussion with vila, about how to enable self-certified hosts. (env var, or config entry). We just allow for a way to not require verification for specific hosts.