Requests icon indicating copy to clipboard operation
Requests copied to clipboard

Support TLS Client Certificates

Open pbiron opened this issue 6 years ago • 2 comments

Per the suggestion in https://core.trac.wordpress.org/ticket/34883#comment:3, I'm opening this issue so that WP's wp_remote_request(), etc can more easily use client certs.

And while not mentioned in the Trac ticket, there is also need to set CURLOPT_SSLKEY.

pbiron avatar Jan 30 '20 15:01 pbiron

Needs 4 options:

CURLOPT_SSLCERTTYPE
CURLOPT_SSLCERT
CURLOPT_SSLKEYTYPE
CURLOPT_SSLKEY

Otherwise I can only use native cURL instead of wp_remote_request

qwqoffice avatar Jul 21 '22 02:07 qwqoffice