You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Michael Hughes (Jira)" <ji...@apache.org> on 2023/06/26 08:18:00 UTC

[jira] [Commented] (CAMEL-19502) netty4-http - allow SSL SNI to be set using SSLContextClientParameters

    [ https://issues.apache.org/jira/browse/CAMEL-19502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17737037#comment-17737037 ] 

Michael Hughes commented on CAMEL-19502:
----------------------------------------

I have a unit test that shows the issue and a possible solution which I'll try to submit later today.

> netty4-http - allow SSL SNI to be set using SSLContextClientParameters
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-19502
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19502
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-netty4-http
>            Reporter: Michael Hughes
>            Priority: Major
>
> Setting the Server Name Indication (SNI) to the host was done in CAMEL-14070 but sometimes people need to override this with a different value.
> The [documentation|https://camel.apache.org/manual/camel-configuration-utilities.html#_sslcontextclientparameters] mentions that this can be set using the SSLContextClientParameters but this configuration setting is ignored when the SNI is set in the HttpClientInitializerFactory here:
> https://github.com/apache/camel/blob/main/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpClientInitializerFactory.java#L195
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)