【发布时间】:2014-12-18 22:08:56
【问题描述】:
从 IBM WAS 连接到邮件服务器时出现以下异常。
javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: java.net.SocketException: java.security.PrivilegedActionException: java.io.FileNotFoundException: D:\Program Files (x86)\IBM\WebSphere\AppServer\jre\lib\security\cacerts (The system cannot find the path specified.)
我的问题是:
我应该导入什么证书?是否需要将邮件服务器的证书导入WAS?我应该要求邮件服务器管理员共享证书吗?
一旦确定了哪个证书,我计划按照以下说明导入它: How to connect to a secure website using SSL in Java with a pkcs12 file?
【问题讨论】:
标签: java email ssl websphere exchange-server