Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

How to include SSL Certificates in CURL

$
0
0

Topic by Mattia Caputo

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.

Can anyone shed some light ?

Thank you in advance.

Best regards,

Mattia

Version

November 2016 SP4

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles