Global Variables of certificates

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
hmsg
Forum Commoner
Posts: 42
Joined: Sun May 14, 2006 9:48 am

Global Variables of certificates

Post 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
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

I thought you already had a thread on this...
hmsg
Forum Commoner
Posts: 42
Joined: Sun May 14, 2006 9:48 am

Post 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
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

This probably should have been a continuation of your previous post..

All of PHP's predefined variables are listed here
Locked