----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Ed Yu wrote:
>
> Hi,
>
> I'm using JServ 1.1.1, Apache 1.3.12, open-ssl 0.9.5a. I tried to access the
> org.apache.jserv.SSL_SESSION_ID, org.apache.jserv.SSL_CLIENT_CERTIFICATE
> environment using req.getAttribute() and it doesn't seems to work. I have
> the following in the jserv.conf file:
>
> ApJServEnvVar SSL_SESSION_ID SSL_SESSION_ID
> ApJServEnvVar SSL_SERVER_CERTIFICATE SSL_SERVER_CERTIFICATE
> ApJServEnvVar SSL_CLIENT_CERTIFICATE SSL_CLIENT_CERTIFICATE
> ApJServEnvVar SSL_PROTOCOL SSL_PROTOCOL
>
> I was wondering if I had done anything wrong or is it the version of JServ
> I'm using does not support the above.
> BTW, I've shutdown and re-started both jserv and apache after changing the
> jserv.conf.
I am also having this problem.
I am using Apache 1.3.12, from tomcat/3.1 , mod_ssl/2.6.4.
I have following conf:
SSLOptions +StdEnvVars
ApJservEnvVar SSL_CLIENT_S_DN SSL_CLIENT_S_DN
and a servlet that trys for:
HttpServletRequest.getAttribute("org.apache.jserv.SSL_CLIENT_S_DN");
The servlet works ok , but I get back null.
If I put a netcat listening on the tomcat port instead of tomcat,
I can see that apache is passing SSL_CLIENT_S_DN.
Is there some difference in the name of the attribute.
There is a similar question (3.9 in the tomcat) FAQ-o-matic
which has no answer.
Any help greatly appreciated.
Andy
--
Andy Brady Email : [EMAIL PROTECTED]
Web Services Group Tel : +44(0)118 9499252
E.C.M.W.F. Fax : +44(0)118 9869450
Shinfield Park, Reading, RG2 9AX Web : http://www.ecmwf.int
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]