camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <>
Subject [jira] [Resolved] (CAMEL-8123) Mina2 SSL initiates handshake backwards
Date Fri, 05 Dec 2014 06:16:13 GMT


Willem Jiang resolved CAMEL-8123.
       Resolution: Fixed
    Fix Version/s: 2.15.0

Merged the patch into master, camel-2.13.x and camel-2.14.x branches with thanks to Justin.

> Mina2 SSL initiates handshake backwards
> ---------------------------------------
>                 Key: CAMEL-8123
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-mina2
>    Affects Versions: 2.13.3, 2.14.0
>            Reporter: Justin Cozzens
>            Assignee: Willem Jiang
>             Fix For: 2.13.4, 2.14.1, 2.15.0
> The Mina2Consumer and Mina2Producer are configured backwards for SSL handshake initiation.
The consumer is trying to initiate the handshake rather than the producer. You can see this
by setting up a SSL enabled consuming route and telnet to the port, you will immediately get
some data sent from the server to the client rather than the server waiting on the client
to initiate the handshake.
> The issue is Mina2Consumer:160, it is setting UseClientMode to true, it should be false.
Mina2Producer line 313 needs to also change to the following:
>             SslFilter filter = new SslFilter(configuration.getSslContextParameters().createSSLContext(),
> filter.setUseClientMode(true);
> connector.getFilterChain().addFirst("sslFilter", filter);
> As far as I can tell this has been a bug since this component was introduced.

This message was sent by Atlassian JIRA

View raw message