0

I configured curl with SSL certificate in php.ini according to this but still I got the error cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html).

I thought the error may have occured due to mod_openssl module of apache server, and I tried to enable mod_openssl on Apache server 2.4.17, wampserver 3.0 but when I did wampserver could not start. After I disabled mod_openssl back, started fine.

What is the problem? How do I fix the curl SSL certificate error?

I am using: wampserver 3.0 apache server 2.4.17 php 5.6.16

Community
  • 1
  • 1
Lucy_learning
  • 97
  • 2
  • 11

1 Answers1

0

You will also need to activate php_openssl.dll this can be done by the menus as well.

wampmanager->PHP->PHP Extensions->php_openssl

make sure the php_openssl menu item has a tick beside it, if not click on it and it will amend the php.ini and restart Apache for you.

As Apache is not starting you may have to do this manually, in which case edit the php.ini using using the menus again

wampmanager->PHP->php.ini

Find this line

;extension=php_openssl.dll

and remove the ; comment marker. Then save, and restart Apache.

RiggsFolly
  • 93,638
  • 21
  • 103
  • 149