我正在尝试使用mule https连接器端点连接第三方安全网址。这是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。如何设置这些配置?
答案 0 :(得分:1)
我能够通过替换jre security libs文件夹中的Unlimited Strength JCE jar(local_policy.jar,US_export_policy.jar)来解决这个问题。
答案 1 :(得分:0)
确保在端口上使用HTTP(非SSL)连接器配置Tomcat服务器 打开终端窗口并导航到Tcat Server安装/ bin目录。键入tcatserver6w并检查Java选项卡下的内容。确保JAVA_HOME和JRE_HOME都指向正确的路径。更多想法请参考以下链接 https://docs.mulesoft.com/tcat-server/v/7.1.0/common-problems-and-solutions#ssl-tls-handshake-exception