If curl is not setup correctly for SSL (HTTPS) data transfers an error is displayed. The error message starts like this:
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html
There are several options to solve this problem:
- Ignore the problem and add -k to the command line. This is not recommended.
- Download the latest cacert.pem file. Specify this file using the command line option –cacert <path>/cacert.pem.
- Download the latest cacert.pem file. Set the environment variable “set CURL_CA_BUNDLE=<path>/cacert.pem”.
- On Windows put “curl-ca-bundle.crt” in your path. The bundle is part of the Windows download.
I see this problem pop up on StackOverflow often.
Curl documentation on this issue.
Download Curl for Windows and Linux.
Download cacert.pem for all platforms.