Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Raj123's avatar

cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

am unable to resolve above error in php 7.2.0 and laravel 5.5 I did somthing..

I follow below rules still am getting above error.. If any one know pls let me know.

Download this file: http://curl.haxx.se/ca/cacert.pem Place this file in the C:\wamp64\bin\php\php7.1.9 folder Open php.iniand find this line: curl.cainfo = "C:\wamp64\bin\php\php7.1.9\cacert.pem"

0 likes
2 replies
lostdreamer_nl's avatar

have you also restarted your PHP FPM process ?

Also: You say you have this error in php 7.2.0 but you show the part about adding it to ..\php7.1.9\cacert.pem

  • Are you sure this is not another php installation that is not being used by your webserver ?

do a phpinfo(), check the location of your current php.ini and try the same for its php.ini file.

Please or to participate in this conversation.