Stefan Zasada wrote:
> I'm trying to run a perl cgi script in a standalone tomcat container
> with ssl turned on.
It is usually a good idea to mention your Tomcat version although in
this case it doesn't change the answer.

> With the script running under apache, an environment variable
> (SSL_CLIENT_S_DN) is set with the DN from the connecting client's
> certificate.
> 
> Is is possible to pick up a similar environment variable with the cgi
> script running under tomcat? I've looked at the list of cgi variables
> that are set and it isn't amongst them.
The best you are going to get is REMOTE_USER and how that is populated
under SSL depends on how your realm is configured.

> I've looked around for a way to do this but can't seem to find anything.
> Any help would be appreciated.
If you need this, patching the CGIServlet should be easy. If you get a
patch that works, I would be happy to review it for inclusion in the
standard Tomcat CGI Servlet.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to