cURL Fails with Unable to Get Local Issuer Certificate Error when Interacting with the Oracle Storage Cloud Service API (Doc ID 1982210.1)

Last updated on JANUARY 01, 2017

Applies to:

Oracle Storage Cloud Service - Version 13.2 and later
Information in this document applies to any platform.

Symptoms

When attempting to authenticate to the Oracle Storage Cloud Service via the REST API, cURL fails as seen below.

curl.exe -v -s -X GET -H 'X-Storage-User: ' -H 'X-Storage-Pass: ' https://storage.us2.oraclecloud.com/auth/v1.0
... * Connected to storage.us2.oraclecloud.com (160.34.0.51) port 443 (#2) * successfully set certificate verify locations:
* CAfile: curl-ca-bundle.crt 
 CApath: none
* TLSv1.2, TLS handshake, Client hello (1):
* TLSv1.2, TLS handshake, Server hello (2):
* TLSv1.2, TLS handshake, CERT (11):
* TLSv1.2, TLS alert, Server hello (2):
* SSL certificate problem: unable to get local issuer certificate  

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms