Update WAMP / Apache to use the new cacert.pem

Updated CA Cert: http://curl.haxx.se/ca/cacert.pem

I know that I did this on another machine, but I cannot find the resources that I found earlier when I had to do this.

I want to update WAMP to use .pem above, but I can’t remember for life where to do it with which command.

+4
source share
1 answer

If you use at least php 5.3.7, you can put this in ini at the end of your php.ini file:

curl.cainfo=c:\path\to\cacert.pem

You will need to find the specific php.ini file for the php version that you have chosen to use.

: http://php.net/manual/en/function.curl-setopt.php

: http://php.net/manual/en/curl.configuration.php

+9

All Articles