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=20556>.
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=20556

2 way authentication with JK2 Coyote Connector

           Summary: 2 way authentication with JK2 Coyote Connector
           Product: Tomcat 4
           Version: 4.1.24
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote JK 2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The JkCoyoteHandler class is giving a Certificate Convertion error when trying 
to send client certificates to the server on Apache 1.3.27, Tomcat 4.1.24, 
Jboss 3.0. I found this fix in a mailing list and it works. By the way, 
convertion is spelt conversion

-- james


Thorvald Natvig wrote:

>For those that have been suffering problems using 2-way authenticating
>with the JK2 Coyote connector, this patch should fix the problem. It's not
>a good fix, but it's a fix nonetheless.
>
>
>
>------------------------------------------------------------------------
>
>--- jakarta-tomcat-connectors-4.1.24-
src/jk/java/org/apache/jk/server/JkCoyoteHandler.java 2003-03-19 
10:21:04.000000000 +0100
>+++ jakarta-tomcat-connectors-4.1.24-src-
new/jk/java/org/apache/jk/server/JkCoyoteHandler.java 2003-03-25 
17:10:54.000000000 +0100
>@@ -384,7 +384,7 @@
> // Extract SSL certificate information (if requested)
> MessageBytes certString = (MessageBytes)req.getNote(WorkerEnv.SSL_CERT_NOTE);
> if( certString != null ) {
>- byte[] certData = certString.getByteChunk().getBytes();
>+ byte[] certData = certString.toString().getBytes();
> ByteArrayInputStream bais = new ByteArrayInputStream(certData);
>
> // Fill the first element.

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

Reply via email to