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

linux下websphere报错javax.net.ssl.SSLHandshakeException: Received fatal alert: hand

程序员文章站 2022-06-04 10:22:11
...

 

javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

 

sslcontext = SSLContext.getInstance("SSL");  

改为
sslcontext = SSLContext.getInstance("TLS");

就可以了