已解决:javax.net.ssl.SSLHandshakeException: No appropriate protocol 问题
程序员文章站
2022-03-04 13:13:45
...
记录:在进行邮件发送模拟时遇到的错误
javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 465;
nested exception is:
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
使用的是qq邮箱,其中各种SSL配置都已完善,但是仍然报错,网上大部分解决方案为删除JDK\jre\lib\security目录下的java.security文件中的SSLv3,但是实际上并不能解决问题,必须删掉另外几个TSL,只剩下RC4及以后
上一篇: PHP+txt聊天室
下一篇: 开发流程
推荐阅读
-
安装打印机驱动时提示确认打印机已连接电脑的问题分析及解决办法
-
解决ie11 SCRIPT5011:不能执行已释放Script的代码问题
-
Maven下载速度过慢问题已解决
-
已解决:No 'Access-Control-Allow-Origin'跨域问题
-
如何解决jQuery EasyUI 已打开Tab重新加载问题
-
如何解决"显示器驱动程序已停止响应并且已成功恢复"的问题
-
小米8全面屏游戏适配问题已解决 工程师:会尽快推送
-
mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法
-
微信表示iOS13.2 杀后台问题已找到解决方案
-
npm缺少css-loader,/style-compiler,stylus-loader问题,npm没有权限无法全局更新问题【已解决】