We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to include SSL Certificates in CURL

Received Response
19
Views
1
Comments
edited Apr 13, 2017 6:59PM in Integrations and APIs 1 comment

Content

Hi,

I am developing a PHP custom script, stored in the File Manager, that performs a REST request via CURL with SSL certificates.

The CA bundle path is /certs/intermediate/thawte_SSL_CA_G2.pem (in the File Manager), as the certificate is aiming to verify the peers between OSC and the third party host.

I am trying to include the SSL certificate path in the CURL request, but it seems to me I am not passing the correct path (or probably I mistaking somewhere else).

The exception I am facing is: Uncaught exception 'Exception' with message 'SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!