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

Neeraj1005's avatar

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

How can i Resolve this cURL error:

0 likes
3 replies
Neeraj1005's avatar

Yes, I resolve this error for Wamp user: Here is the step:

  • Download the certificate bundle: https://curl.haxx.se/docs/caextract.html
  • Put it inside of C:\wamp64\bin\php\your php version\extras\ssl
  • Make sure the file mod_ssl.so is inside of C:\wamp64\bin\apache\apache(version)\modules Enable mod_ssl in httpd.conf inside of Apache directory C:\wamp64\bin\apache\apache2.4.27\conf
  • find the location php.ini files and find the line curl.cainfo = and give it a path like this curl.cainfo = "C:\wamp64\bin\php\php(Version)\extras\ssl\cacert.pem"
  • Now save the files and restart your server and you should be good to go. Also you can find solution here:https://stackoverflow.com/questions/29822686/curl-error-60-ssl-certificate-unable-to-get-local-issuer-certificate/34883260#34883260
    1 like

    Please or to participate in this conversation.