0 Replies Latest reply on Oct 7, 2002 8:36 AM by araujo

    Tomcat doubt

    araujo

      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