欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

已解决: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及以后
已解决:javax.net.ssl.SSLHandshakeException: No appropriate protocol 问题

相关标签: java ssl protocol

上一篇: PHP+txt聊天室

下一篇: 开发流程