Category : client-certificates

How to pass client certificate (2 files .key and .pem) through http client request? I need to include those files in the below http post request to be able to talk with the server. $response = Http::post(‘https://domainname.com/api/client/session’, array(‘xxx’ => array(‘xx’ => ‘xxxx’))); I am able to do it using phpCurl like below: $curl = curl_init(); ..

Read more

I want to sign pdf document using client certificate stored in USB token using PHP Web server. I have enabled Client Authentication successfully. Now when user visit my site, site authenticates client certificate with pin from USB token and I am receiving client certificate through $_SERVER[‘SSL_CLIENT_CERT’] global variable. Now I have these 3 details: Client ..

Read more