tibberous Posted August 7, 2008 Share Posted August 7, 2008 I am trying to use the linkpoint API. It uses SSL through curl - both of which I have turned on. curl_setopt ($ch, CURLOPT_SSLCERT, 'certificate.pem'); $result = curl_exec ($ch); Returns false, and curl_error say: curl error unable to set private key file: 'certificate.pem' type PEM To make my PEM file, I went to my website, clicked the cert, and exported it as a PEM. I tried with and without a chain, made sure to set the encoding to ASCII and the line terminator to LF. Anyone have any idea's what to do? Link to comment https://forums.phpfreaks.com/topic/118575-curl-error-unable-to-set-private-key-file-certificatepem-type-pem/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.