Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where are the SSL variables ?

Status
Not open for further replies.

araujo

Programmer
Dec 14, 2001
3
PT
Hello,

i'm using tomcat-4.0.3 has my front web server do accept request with the protocol https (mutual authentication). When i try to access the certificate presented by the client in the servlet, with this code :

java.security.cert.X509Certificate cert = (java.security.cert.X509Certificate) httpRequest.getAttribute("javax.servlet.request.X509Certificate");

i get always the variable cert = null.

Now my question is, tomcat never export the ssl variables like the X509Certificate ? Do i need to have a apache mod_ssl in my frontend web server to talk with the tomcat and pass the information about the client certificate to him ?

Thanks

.david
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top