Error: Curl: (60) SSL certificate problem: unable to get local issuer certificate
search cancel

Error: Curl: (60) SSL certificate problem: unable to get local issuer certificate

book

Article ID: 256372

calendar_today

Updated On: 10-09-2023

Products

Service Virtualization

Issue/Introduction

When running an 'Execute External Command' step configured with the curl command, the following error comes up: 
Error: Curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

 

Environment

All supported DevTest releases.

Cause

N/A

Resolution

The version of curl that is provided by Windows, uses the certificates built into Windows.
Instead of just using curl, use the full path to the Windows version of curl: 
"C:/Windows/system32/curl.exe" -H "Auth...

In summary it will be easier to use the Windows version of curl, as the certificates may already have been added to the OS for use by the browser.