Faqts : Business : Programming : Shopping For You : PHP : Common Problems : Variables

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 6 people (67%) answered Yes
Recently 4 of 6 people (67%) answered Yes

Entry

Is there a way of accessing mod_ssl variables (e.g. SSL_CLIENT_CERT) via Apache?

Nov 2nd, 2005 02:30
DarkFlib, David Bird, http://technomonk.com


Yes, if mod_ssl has the option +ExportCErtData in the httpd.conf (or
ssl.conf depending on version) then all the SSL related variables will
be exposed to your scripts.

Variables exposed include details of the ciphers, the certificates and
client details if the client is using a certificate.