handshake_failure 使用 mule 3.6 https 连接器连接时

handshake_failure when connect using mule 3.6 https connector

我正在尝试使用 mule https 连接器端点连接第三方安全 url。这是 mule https 连接器

    <https:connector name="HTTP_HTTPS" cookieSpec="netscape" validateConnections="false" sendBufferSize="0" receiveBufferSize="0" receiveBacklog="0" sendTcpNoDelay="true" clientSoTimeout="10000" serverSoTimeout="10000" socketSoLinger="0" doc:name="HTTP\HTTPS"> 
    <service-overrides sessionHandler="org.mule.session.NullSessionHandler"/>
    <https:tls-key-store path="key.jks" keyPassword="pwd" storePassword="pwd"></https:tls-key-store>  
</https:connector>

这里是出境终点

          <https:outbound-endpoint exchange-pattern="request-response" address="https://url" responseTimeout="180000" connector-ref="HTTP_HTTPS" user="user" password="pwd" contentType="application/soap+xml" doc:name="HTTP"> 
        <set-property propertyName="prop1" value="11"></set-property>  
        <set-property propertyName="prop2" value="22"></set-property>  
    </https:outbound-endpoint>

当我尝试连接时出现握手失败错误

Exception stack is:

1。收到致命警报:handshake_failure (javax.net.ssl.SSLHandshakeException) sun.security.ssl.Alerts:192 (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/net/ssl/SSLHandshakeException.html)

在第三方连接中,使用了 256 密码套件和 TLS 版本 1.0 1.1 1.2。如何设置这些配置?

确保在端口上使用 HTTP(非 SSL)连接器配置 Tomcat 服务器 打开终端 window 并导航到 Tcat 服务器 installation/bin 目录。键入 tcatserver6w 并检查 Java 选项卡下的内容。确保 JAVA_HOME 和 JRE_HOME 都指向正确的路径。更多想法请参考下面link https://docs.mulesoft.com/tcat-server/v/7.1.0/common-problems-and-solutions#ssl-tls-handshake-exception

我能够通过替换 jre 安全库文件夹中的 Unlimited Strength JCE jar(local_policy.jar、US_export_policy.jar)来解决这个问题。