Sometime I need "fetch" from https website without valid certificate. In which case I want to disable ssl certificate verifiy.
Maybe add
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);
will work.
But how to tell txiki.js when to do this?
BTW, We can disable ssl certificate verify on node.js, By set environment variable NODE_TLS_REJECT_UNAUTHORIZED=0.