jvax.net.ssl.SSLException: 异常解决
后台报错抛出异常:
javax.net.ssl.SSLException: Server selected improper ciphersuite SSL_RSA_WITH_DES_CBC_SHA
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverHello(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:533)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:401)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
at login.schedule(login.java:188)
at login.<init>(login.java:49)
at launch.main(launch.java:4)
解决方法:如果其他服务器没报错,可以到这个服务器jdk 的安装目录复制一份security 文件,目录一般在jre\lib\security下,比如C:\Program Files\Java\jdk1.8.0_131\jre\lib\security ,然后复制到本地jdk 环境。
转载于:https://blog.51cto.com/7218743/2105700
jvax.net.ssl.SSLException: 异常解决相关推荐
- Java报错javax.net.ssl.SSLException MESSAGE: closing inbound before receiving peer‘s close_notify解决方法
文章目录 一.问题描述 二.解决方法 总结 一.问题描述 在利用SpringBoot开发项目时发现控制台中报了javax.net.ssl.SSLException MESSAGE: closing i ...
- javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? HTTPS请求异常
在Jmeter中压测https接口,请求抛出异常 javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? ...
- jmeter 运行接口报javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection的解决方法
今天上午,一位小伙伴(jmeter初学者)在自己抓包后,将接口放到jmeter中,进行接口测试时,出现这样的报错: javax.net.ssl.SSLException: Unrecognized S ...
- javax.net.ssl.SSLException: Received fatal alert: protocol_version问题解决
本来以为这个问题百度一大堆肯定很好解决,没想到还是卡了一会儿. 网上的方案和我自己的情况不完全匹配,所以记录下来. 完整报错如下: com.mysql.jdbc.exceptions.jdbc4.Co ...
- javax.net.ssl.SSLException MESSAGE: closing inbound before receiving peer‘s close_notify
1. 问题描述: ** BEGIN NESTED EXCEPTION ** javax.net.ssl.SSLException MESSAGE: closing inbound before rec ...
- httpclient对象请求时报错javax.net.ssl.SSLException: hostname in certificate didn‘t match
学习httpclient对象请求时出现如下报错: 出现javax.net.ssl.sslexception报错是因为证书不匹配的主机名的问题. 可以在请求的时候多加上表示修改org.apache.ht ...
- javax.net.ssl.SSLException: closing inbound before receiving peer‘s close_notify
javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify 在收到对等方关闭通知之前关闭入站 报错 ...
- javax.net.ssl.SSLException: Read error: ssl=0xdeae5100: I/O error during system call, Connection res
bug记录 :javax.net.ssl.SSLException: Read error: ssl=0xdeae5100: I/O error during system call, Connect ...
- JDK8 stream toMap() java.lang.IllegalStateException: Duplicate key异常解决(key重复)
测试又报bug啦 接到测试小伙伴的问题,说是一个接口不返回数据了,好吧,虽然不是我写的接口任务落到头上也得解决,本地调试了一下,好家伙,直接抛了个异常出来,这又是哪位大哥喝醉了写的代码... Exce ...
最新文章
- java方法体逻辑不会写怎么办,想自己写框架?不会写Java注解可不行
- python输入input数组_python怎么输入数组
- android webView的缓存机制和资源预加载
- 拓端tecdat|R语言ggmap空间可视化机动车碰撞–街道地图热力图
- java8 stream map 求最大值、最小值、平均数、求和
- 10)-MySQL数据库基础练习(答案版)
- vivado下载失败并报 End of startup status:LOW
- Android实现边录音边播放
- 2022云管和云网大会|《云容灾白皮书2022》发布,万博智云参与撰写
- 拆解SSK SCRM330 USB3.0读卡器 GL3233 固件 0819
- linux解除用户锁,linux禁用锁定和解除解锁用户账号的方法
- 使用node连接MongoDB的工具安装及配置
- 工控安全:攻防演示案例分享
- 各种int的取值范围
- 【算法】DFS与BFS
- cetus权限连接主从mysql_网易开源中间件 -Cetus监控模块
- 计算机电源功率计算,电源功率怎么计算?
- IIS搭建http服务
- 离线安装docker-compose
- 用c语言写一个唐诗的程序,文言文编程95后又出新作,在287051行古诗中找出了“唐诗幻方”!...