- Similar for other environment
- download and extract for cacert.pem here (a clean file format/data)
- Put it here in the following directory.
C:\xampp\php\extras\ssl\cacert.pem
- In your php.ini put this line in this section (“c:\xampp\php\php.ini”):
;;;;;;;;;;;;;;;;;;;; ; php.ini Options ; ;;;;;;;;;;;;;;;;;;;; curl.cainfo = "C:\wamp\bin\php\extras\ssl\cacert.pem"
- Restart your webserver/apache
- Problem solved!