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
Agnès Le RouxAgnès Le Roux 

Einstein Intent API Basics: SSL certificate problem: unable to get local issuer certificate

While creating the dataset in the Einstein Intent API basics trailhead. I use the command line
curl -X POST -H "Authorization: Bearer ZWZDZ...C26QDVU6ASQ" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data" -F "type=text-intent" -F "path=http://einstein.ai/text/case_routing_intent.csv" https://api.einstein.ai/v2/language/datasets/upload
I got the following message error:

curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.


The token I provided comes from https://api.einstein.ai/token and is still valid.
I am on Windows10.
Do you have any idea of what is wrong?

Thanks in advance!
Stephen JinesStephen Jines
Did this ever get resolved? How? Having the same issue.
 
Ralph Dolce 6Ralph Dolce 6
Same issue & I don't see any similar threads where this may already be answered.

Thanks for your help
Stephen JinesStephen Jines
I added the -k option (--insecure) to the command line to get this to work on Windows 10
Ralph Dolce 6Ralph Dolce 6
That did it.  Thank you!