You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/09/27 16:39:34 UTC

DO NOT REPLY [Bug 3856] New: - Couldn`t get client certificate

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3856>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3856

Couldn`t get client certificate

           Summary: Couldn`t get client certificate
           Product: Tomcat 4
           Version: 4.0 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: m.strazdins@konts.lv


request.getAttribute("javax.servlet.request.X509Certificate") method returns
"[Ljava.security.cert.X509Certificate;@1ba94d"
Why this returned value starts with "[L"? Is it correct? How do I get the 
client certificate parameters in my servlet?

Here is the error message:
java.lang.ClassCastException: [Ljava.security.cert.X509Certificate;