ExternalResourceClient replacement for CURLOPT_SSLCERT and CURLOPT_SSLKEY

Hello,

I have an integration that is currently using cUrl to get data from a third party service. I am trying to re-write this interface using ExternalResourceClient but I dont seem to be able to find a way to translate the following options in ExternalResourceClient :

curl_setopt($ch, CURLOPT_SSLCERT, $certfile);
curl_setopt($ch, CURLOPT_SSLKEY, $certkeyfile);

After a bit of Sugar source code analysis, there doesn't seem to be a way to extend these options in the current implementation.

 

How can I set corresponding options to CURLOPT_SSLCERT and CURLOPT_SSLKEY in the ExternalResourceClient, considering that cUrl will (or already is) no longer be usable?

Thank you for you assistance.

Kind regards,

Vlad

Parents Reply Children
No Data