我尝试使用以下代码进行SSL连接:
<camel:sslContextParameters id="sslContextParameters">
<camel:keyManagers keyPassword="changeit">
<camel:keyStore type="JKS" resource="C:\keystore.jks"
password="changeit" />
</camel:keyManagers>
<camel:trustManagers>
<camel:keyStore type="JKS" resource="C:\keystore.jks"
password="changeit" />
</camel:trustManagers>
<to uri="https4://127.0.0.1/mail/?sslContextParametersRef=sslContextParameters"/>
但它正在抛出SSLHandshakeException。