You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "David Lund (JIRA)" <ji...@apache.org> on 2017/02/28 17:04:45 UTC
[jira] [Updated] (FLUME-3063) Avro sink connection failure when
challenged with a SSL SNI
[ https://issues.apache.org/jira/browse/FLUME-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Lund updated FLUME-3063:
------------------------------
Summary: Avro sink connection failure when challenged with a SSL SNI (was: Avro sink connection failure when challenged with an SSL SNI)
> Avro sink connection failure when challenged with a SSL SNI
> -----------------------------------------------------------
>
> Key: FLUME-3063
> URL: https://issues.apache.org/jira/browse/FLUME-3063
> Project: Flume
> Issue Type: Bug
> Components: Sinks+Sources
> Affects Versions: v1.7.0
> Reporter: David Lund
> Priority: Minor
>
> I actually found this in version 1.6.0 but i've checked the code for 1.7.0 and is still present
> When using an avro sink connecting to a SSL avro endpoint - if the SSL handshake requests an SNI challenge the connection fails. This is down to the line org.apache.flume.api.NettyAvroRpcClient:753:
> {code:java}
> SSLEngine sslEngine = sslContext.createSSLEngine();
> {code}
> In order for an SNI challenge to succeed - the hostname and port must be passed in
> {code:java}
> SSLEngine sslEngine = sslContext.createSSLEngine(hostname,port);
> {code}
> I've done a quick hack at this - and the values address.getHostname() and address.getPort() passed through within the connect(...) method when creating SSLCompressionChannelFactory fixes the problem
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)