[Zope] How to accaess ssl related CGI environment variables

Istvan Vago vago@zope.hu
Mon, 09 Jul 2001 00:19:20 +0200


Oleg Broytmann wrote:

>Hello!
>
>On Sun, 8 Jul 2001, Istvan Vago wrote:
>
>>I'm trying to access ssl related cgi variables (like SSL_CLIENT_S_DN) in
>>zope without success. I use apache/mod_ssl  with client certificates and
>>accessing zope with pcgi.
>>Apache verifies the certificate, but how to know it in zope?
>>REQUEST.eviron only have a HTTPS key.
>>I'd like to authenticate based on the SSL_CLIENT_S_DN.
>>
>
>   PCGI protocol passess the entire environment to Zope. You are to be sure
>Apache really created the env vars that you want.
>
Well, I was not absolutely correct, I use mod_pcgi2. Also tried fastcgi, 
but looking in the REQUEST both case, no SSL related variable :-((((

The vars are there, I can use them in apache's conf (eg. write the 
SSL_CLIENT_S_DN to the log file).
Are the vars should be in the REQUEST? Or I should look in somewhere else?
Sorry, if I'm asking trivial things.

Istvan Vago