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

http://issues.apache.org/bugzilla/show_bug.cgi?id=31766

Error getting client certificate under iPlanet 6.1/Tomact 5.0.28





------- Additional Comments From [EMAIL PROTECTED]  2004-10-21 06:37 -------
I tracked the problem down, and it looks like the certificate information is 
being passed across in base64 format without any certificate headers.  I have 
added the following code to org/apache/jk/server/JkCoyoteHandler.java 
(replacing lines 467-471):

    StringBuffer certData = new StringBuffer();
    certData.append( "-----BEGIN CERTIFICATE-----\r\n" );
    certData.append( certString.toString() );
    certData.append( "\r\n-----END CERTIFICATE-----\r\n" );

    ByteArrayInputStream bais = 
        new ByteArrayInputStream( certData.toString().getBytes() );

This code is probably not the most efficient implementation, but it solves my 
problem.

Can anyone confirm if this is specific to iPlanet, or does it occur under 
other webservers?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to