Forum

Client certificate authentication with Hiawatha & php

Aditya Jain
6 November 2012, 15:08
Hello Hugo

I was googling how are client certificates used for authentication. I found a lot of tutorials for apache.
Can you please give some pointers how this works in Hiawatha ?
Do the SERVER variables have same name when accessed from php as in case of apache.
I read the manual and came across the variable to configure root CA certificate for authentication,
but I have no experience and idea how webserver communicates the info to php(I know that is my fault )
in case of hiawatha.

Thankyou


Hiawatha version: v8.6
Operating System: Debian Squeeze
Hugo Leisink
6 November 2012, 17:15
You have to use the RequiredCA option, which is explained in the manual page. In PHP, the client information can be obtained via the environment variables SSL_CLIENT_SUBJECT and SSL_CLIENT_ISSUER.
Aditya Jain
6 November 2012, 17:23
Thankyou
This topic has been closed.