[ 
https://issues.apache.org/activemq/browse/AMQ-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hiram Chirino resolved AMQ-1381.
--------------------------------

         Assignee: Hiram Chirino
    Fix Version/s: 5.1.0
       Resolution: Fixed

Patch applied fixed in rev 645599.  Thanks!

> Client Certificates do not work due to incorrectly overriden method in 
> SslTransport.java
> ----------------------------------------------------------------------------------------
>
>                 Key: AMQ-1381
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1381
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 4.1.1, 5.0.0
>         Environment: All
>            Reporter: Jon Siddle
>            Assignee: Hiram Chirino
>             Fix For: 5.1.0
>
>         Attachments: activemq-clientcert.patch
>
>
> The peer certificates never get added to the {{ConnectionInfo}} 
> ({{setTransportContext}})
> since {{doConsume()}} in {{SslTransport}} has the wrong signature.
> The correct signature is:
> {{doConsume(Object command)}}
> but SslTransport defines a method with the following signature:
> {{doConsume(Command command)}}
> Which will obviously never get called.
> In its current state, it is impossible for client certificates to work.
> See attached patch for fix. Apply with {{patch -p0 < 
> activemq-clientcert.patch}} or simply change {{Command}} to {{Object}}
> in {{SslTransport.java}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to