1. Download the SSL-aware version of Curl, or build the SSL-aware version yourself.

  2. From http://curl.haxx.se/docs/caextract.html , Download the cacert.pem file.

  3. Place the curl.exe and the .pem file in the same directory.

  4. Rename the cacert.pem file to curl-ca-bundle.crt

  5. Re-run curl.exe !

 

http://superuser.com/questions/442793/why-cant-curl-properly-verify-a-certificate-on-windows

posted on 2017-02-27 11:12  牛B大王  阅读(303)  评论(0编辑  收藏  举报