No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 解决办法

一、发现问题

No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

二、研究问题

jdk问题

三、解决问题

  • 修改java.security文件

Linux 默认路径/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/lib/security

[root@iZ2ze30dygwd6yh7gu6lskZ security]# pwd
[root@iZ2ze30dygwd6yh7gu6lskZ security]# pwd
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/lib/security
[root@iZ2ze30dygwd6yh7gu6lskZ security]# ls
blacklisted.certs  cacerts  java.policy  java.security  nss.cfg  nss.fips.cfg  policy
[root@iZ2ze30dygwd6yh7gu6lskZ security]# 

No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 解决办法

  • 重启您的Java服务即可

觉得好,就一键三连呗(点赞+收藏+关注)

上一篇:齐全的时间工具类,


下一篇:HTTP时出现:No appropriate protocol (protocol is disabled or cipher suites are inappropriate)