in reply to CGI client auth by digital certificate
I recall $ENV{HTTPS} is set if you're in SSL mode. I doubt any other things are available thru %ENV tho but you might wanna look at mod_perl :)
Greetz
Beatnik
...Perl is like sex: if you're doing it wrong, there's no fun to it.