Hi!

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. 

How can I pass in curl the option: CURLOPT_SSL_VERIFYPEER false.


I tried with the environments in apache conf:

SetEnv CURL_CA_BUNDLE "/ms4w/Apache/conf/ca-bundle/cacert.pem"
SetEnv CURLOPT_SSL_VERIFYPEER false
SetEnv CURLOPT_SSL_VERIFYHOST 1
SetEnv CURLOPT_CAINFO "/ms4w/Apache/conf/ca-bundle/cacert.pem"

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.

The error message is :
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

Maybe in cgi mode you can not pass environments? 

PLEASE HELP
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to