[英]Mule SQS Connector throwing javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
I have a problem sending and receiving messages using Mule SQS Connector. 我在使用Mule SQS Connector发送和接收消息时遇到问题。 Mule starts ok but throws javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated exception when i try to send or receive messages.
ule子开始正常,但会引发javax.net.ssl.SSLPeerUnverifiedException:当我尝试发送或接收消息时,peer未通过身份验证。 I am using keystores for other https outbounds.
我正在将密钥库用于其他https出站。 Here is my flow
这是我的流程
<sqs:config name="Amazon_SQS" accessKey="${AMAZON.ACCESS.KEY}"
secretKey="${AMAZON.SECRET.KEY}" queueName="${AMAZON.QUEUE.NAME}"
doc:name="Amazon SQS">
</sqs:config>
<flow name="TestFlow" doc:name="TestFlow">
<http:inbound-endpoint exchange-pattern="request-response"
host="localhost" port="8081" path="post" doc:name="HTTP" />
<set-payload
value="#['hello']"
doc:name="Set Payload" />
<json:object-to-json-transformer
doc:name="Object to JSON" />
<sqs:send-message config-ref="Amazon_SQS" doc:name="Amazon SQS"/>
</flow>
Per this question Getting "peer not authenticated" exception on Amazon SQS I'm wondering what JRE are you using? 针对这个问题,Amazon SQS上出现“未通过对等身份验证”异常我想知道您正在使用什么JRE? Do you have a recent Oracle JRE?
您最近有Oracle JRE吗?
Per this blog post http://myjavacodeworld.blogspot.ca/2012/12/javaxnetsslsslpeerunverifiedexception.html , it seems you could use -Dcom.amazonaws.sdk.disableCertChecking=true
to bypass the issue. 根据此博客文章http://myjavacodeworld.blogspot.ca/2012/12/javaxnetsslsslpeerunverifiedexception.html ,您似乎可以使用
-Dcom.amazonaws.sdk.disableCertChecking=true
来绕过此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.