I have a php script in my Apache server that have to send a curl request to a partner\'s server.
Partner give me a .pem file that I have to attach to every call I do to its
I think you're missing
curl_setopt($ch, CURLOPT_CAINFO, 'test.pem');
Have a look at cURL is unable to use client certificate , in local server
for more about using client certificates in curl via PHP