【问题标题】:Is apache CXF 3.0.10 compatible with TLS 1.2?apache CXF 3.0.10 是否与 TLS 1.2 兼容?
【发布时间】:2019-09-20 18:49:44
【问题描述】:

我们目前正在使用以下提到的技术版本:

Java 8, TLS 1.1, CXF 3.0.10, SAML1

我们想升级到 TLS1.2 并确定它是否与我们当前版本的 cxf 兼容,因为我们使用 OpenSAML3 升级到 SAML2(计划近期升级)会变得很棘手,因为它只支持更新版本的顶一下。

我为此尝试在互联网上进行研究,但没有得到任何特别的信息。

谁能告诉是否可以在不升级到较新版本的 cxf 的情况下升级 TLS 吗?

【问题讨论】:

    标签: apache java-8 cxf tls1.2


    【解决方案1】:

    是的,如this CXF unit test in 3.0.10 code: org.apache.cxf.systest.https.ciphersuites.CipherSuitesTest#testAESIncludedTLSv12() 所示。 这会给你一个example of XML configuration as well

    <http:conduit name="https://localhost:.*">
            <http:tlsClientParameters disableCNCheck="true" secureSocketProtocol="TLSv1.2">
                <sec:trustManagers>
                    <sec:keyStore type="jks" password="password" resource="keys/Truststore.jks"/>
                </sec:trustManagers>
                <sec:cipherSuites>
                    <sec:cipherSuite>TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256</sec:cipherSuite>
                </sec:cipherSuites>
            </http:tlsClientParameters>
    </http:conduit>
    

    还有官方文档:http://cxf.apache.org/docs/tls-configuration.html

    但不要将此文档视为 CXF 3.0.10 的许可,因为我猜此版本可能不支持 TLSv1.3。

    【讨论】:

      猜你喜欢
      • 2016-09-12
      • 1970-01-01
      • 2017-12-19
      • 2023-04-10
      • 2016-09-13
      • 2019-01-10
      • 1970-01-01
      • 2020-05-03
      • 2018-01-07
      相关资源
      最近更新 更多