The server selected protocol version TLS10 is not accepted by client preferences [TLS12] 报错处理

java -version

where is java

ls -lrt /usr/bin/java

ls -lrt /etc/alternatives/java

cd /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64

cd security

vi java.security

把 jdk.tls.disabledAlgorithms 配置项注释掉或者删掉。

ESC

:wq

然后重启服务就可以了

参考命令:

root@k8s-master-4dcs bin]# where is java
-bash: where: command not found
[root@k8s-master-4dcs bin]# whereis java
java: /usr/bin/java /usr/lib/java /etc/java /usr/share/java /usr/share/man/man1/java.1.gz
[root@k8s-master-4dcs bin]# java -version
openjdk version "1.8.0_322"
OpenJDK Runtime Environment (build 1.8.0_322-b06)
OpenJDK 64-Bit Server VM (build 25.322-b06, mixed mode)
[root@k8s-master-4dcs bin]# /etc$ ls -lrt /usr/bin/java
-bash: /etc$: No such file or directory
[root@k8s-master-4dcs bin]# /etc$ ls -lrt /usr/bin/java
-bash: /etc$: No such file or directory
[root@k8s-master-4dcs bin]#  ls -lrt /usr/bin/java
lrwxrwxrwx 1 root root 22 Feb 21 08:44 /usr/bin/java -> /etc/alternatives/java
[root@k8s-master-4dcs bin]# ls -lrt /etc/alternatives/java
lrwxrwxrwx 1 root root 73 Feb 21 08:44 /etc/alternatives/java -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre/bin/java
[root@k8s-master-4dcs bin]# cd /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre/bin/java
-bash: cd: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre/bin/java: Not a directory
[root@k8s-master-4dcs bin]# cd /usr/lib/jvm
[root@k8s-master-4dcs jvm]# ls
java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64  jre  jre-1.8.0  jre-1.8.0-openjdk  jre-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64  jre-openjdk
[root@k8s-master-4dcs jvm]# cd jre-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64
[root@k8s-master-4dcs jre-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64]# ls
ASSEMBLY_EXCEPTION  bin  lib  LICENSE  THIRD_PARTY_README
[root@k8s-master-4dcs jre-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64]# cd lib
[root@k8s-master-4dcs lib]# ls
amd64                 cmm                       hijrah-config-umalqura.properties  jfr.jar             management-agent.jar  resources.jar
applet                content-types.properties  images                             jsse.jar            meta-index            rt.jar
calendars.properties  currency.data             jce.jar                            jvm.hprof.txt       net.properties        security
charsets.jar          ext                       jexec                              logging.properties  psfontj2d.properties  sound.properties
classlist             flavormap.properties      jfr                                management          psfont.properties.ja  tzdb.dat
[root@k8s-master-4dcs lib]# cd security
[root@k8s-master-4dcs security]# ls
blacklisted.certs  cacerts  java.policy  java.security  nss.cfg  policy
[root@k8s-master-4dcs security]#  vim  java.security
-bash: vim: command not found
[root@k8s-master-4dcs security]#  vim  java.security
-bash: vim: command not found
[root@k8s-master-4dcs security]#  vi  java.security
[root@k8s-master-4dcs security]# cd /home
[root@k8s-master-4dcs home]# ls
baison  EPosPicServer  hbrhrj  hbrhrj-cs
[root@k8s-master-4dcs home]# cd EPosPicServer
[root@k8s-master-4dcs EPosPicServer]# ls
el-e3-pic-1
[root@k8s-master-4dcs EPosPicServer]# cd el-e3-pic-1
[root@k8s-master-4dcs el-e3-pic-1]# ls
config  el-e3-pic.jar  el-e3-pic.sh  infos  temp  ʹ??˵??.txt
[root@k8s-master-4dcs el-e3-pic-1]# ./el-e3-pic.sh start
The el-e3-pic.jar is starting...
[root@k8s-master-4dcs el-e3-pic-1]# ./el-e3-pic.sh status
 Running [5964] 
[root@k8s-master-4dcs el-e3-pic-1]# ./el-e3-pic.sh status
 Running [5964] 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值