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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tomcat doubt

Status
Not open for further replies.

araujo

Programmer
Dec 14, 2001
3
PT
Hello,

i have a doubt about the tomcat. I'm using tomcat 4.0 has my web server, and i have configure it to support ssl, but for some reason my servlet cannot access the certificate that the client is presenting:

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

the variable cert is always null, but the ssl connection is estabilish.

Now my doubts :

Can't tomcat acesss to this ssl variable ?
Do i have to use apache has my front web server to pass the request to tomcat and then have acess to the ssl variables ?

thanks you very much any help

.david
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top