function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ToyClownToyClown 

cURL 60 ssl certificate problem,verify that the CA cert is OK

Greeting,

 

I encountered this error when I did with the doc Bulk API step by step.

For the Bulk API does not support Login,so I got this problem when I was going to login with SOAP API.

 

Find below the cURL command

 

curl https://login.salesforce.com/services/Soap/u/22.0 -H "Content-Type: text/xml;charset=UTF-8" -H "SOAPAction: login" -d @login.txt

 

The error detail

 

curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failedMore details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option.If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL).If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option.

 

I would be thankful if you can give me a hand .

 

 

 

Gagandeep-SinghGagandeep-Singh

To fix curl 60 certificate problem, download the cert bundle from here :

 

https://msysgit.googlecode.com/git-history/9d3c9d917f5d7790fbb0309ebbe0303960ec8a64/mingw/bin/curl-ca-bundle.crt

 

save this as it is 'curl-ca-bundle.crt' in your root directory where you have curl.exe (windows) and it should fix it. 

 

Regards