Page 1 of 1

Global Variables of certificates

Posted: Thu Jan 18, 2007 11:10 am
by hmsg
Hi ppl.

I need to do a login system, but with 2 options, the normal login (user and password) and other using the certificates that users have installed in their browsers, But i need to know what are the variables to get in php like $_SERVER[HTTP_DN] (distinguish name in CA) and other information inside the certificates installed?


With the best regards

Hugo Gomes

Posted: Thu Jan 18, 2007 11:24 am
by aaronhall
I thought you already had a thread on this...

Posted: Thu Jan 18, 2007 11:25 am
by hmsg
yes but i suppose that there is more, like a variable to get the entitie of the certificate, the date of expiration, and other information usefful to the login system.

Know where i could find a list of those kind of global variables?

With the best regards

Posted: Thu Jan 18, 2007 11:27 am
by aaronhall
This probably should have been a continuation of your previous post..

All of PHP's predefined variables are listed here