How to include SSL Certificates in CURL
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.