[
https://issues.apache.org/jira/browse/CAMEL-11784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16171078#comment-16171078
]
Önder Sezgin commented on CAMEL-11784:
--------------------------------------
Please first ask for help in user forum/SO
> Could not disable the tlsv1 and tlsv1.1
> ---------------------------------------
>
> Key: CAMEL-11784
> URL: https://issues.apache.org/jira/browse/CAMEL-11784
> Project: Camel
> Issue Type: Bug
> Components: camel-jetty
> Reporter: East
>
> Hi,
> I tried to use below code to disable the weak TLS version, such as TLSv1.1
> TLSv1 and SSLv3, only left TLSv1.2, but it does not work
> {code:java}
> JettyHttpComponent jettyComponent =
> getContext().getComponent("jetty", JettyHttpComponent.class);
> SslSelectChannelConnector sslConnector = new
> SslSelectChannelConnector();
> SslContextFactory sslFactory = sslConnector.getSslContextFactory();
> ..........
> SSLContextParameters sslContextParameters = new
> SSLContextParameters();
> SecureSocketProtocolsParameters secureSocketProtocols = new
> SecureSocketProtocolsParameters();
> secureSocketProtocols.getSecureSocketProtocol().add("TLSv1.2");
> sslContextParameters.setSecureSocketProtocols(secureSocketProtocols);
> jettyComponent.setSslContextParameters(sslContextParameters);
> jettyComponent.setSslSocketConnectors(connectors);
> from("jetty:https://0.0.0.0:343/eastweb/")
> {code}
> Could you help to have a support? thanks!
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)