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 2004/10/21 08:37:15 UTC
DO NOT REPLY [Bug 31766] -
Error getting client certificate under iPlanet 6.1/Tomact 5.0.28
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 nclement@qvalent.com 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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org