<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div style="" class="">Hi!</div><div style="" class=""><br style="" class=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">I have one self-signded certificate for my local site (that I have for develpment-test purposes) and I want to get rid off  certificate verification error. <br style="" class=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">How can I pass in curl the option: CURLOPT_SSL_VERIFYPEER false.</div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family:
 HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br style="" class=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br style="" class=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">I tried with the environments in apache conf:</div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br style="" class=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
 Grande,sans-serif; background-color: transparent; font-style: normal;">SetEnv CURL_CA_BUNDLE "/ms4w/Apache/conf/ca-bundle/cacert.pem"<br style="" class="">SetEnv CURLOPT_SSL_VERIFYPEER false<br style="" class="">SetEnv CURLOPT_SSL_VERIFYHOST 1<br style="" class="">SetEnv CURLOPT_CAINFO "/ms4w/Apache/conf/ca-bundle/cacert.pem"</div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br style="" class=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">but the above solution it does not work. I tried with inserting in my windows system environment variables the above values but, still i does not work.</div><div class="" style="color: rgb(0, 0, 0); font-size: 13px;
 font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br style="" class=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">The error message is :</div><pre style="" class="">curl failed to request url https://localhost/cgi-bin/mapserv.exe?map=user.map&VERSION=1.1.1&..... : SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed<br><br>Maybe in cgi mode you can not pass environments? <br><br>PLEASE HELP<br></pre></div></body></html>