【Https】Received fatal alert: internal_error

1024 程序员节快乐

已经添加了信任所有证书代码,请求仍然报如下错误

javax.net.ssl.SSLException: Received fatal alert: internal_error

解决方法:

在初始化 SSLConnectionSocketFactory 此对象,需要使用它的重载方法

java 复制代码
sslsf = new SSLConnectionSocketFactory(createIgnoreVerifySSL(),
        new String[]{"TLSv1.2", "TLSv1.3"}, // 支持的协议
        null, // 支持的加密套件
        NoopHostnameVerifier.INSTANCE);
相关推荐
Lsetea17 小时前
OpenSSL verify报unable to get issuer certificate:error 2与partial_chain排查
linux·https·ssl证书·openssl·证书链
天天进步201521 小时前
Caddy 实战:5 分钟给域名开启 HTTPS,自动申请 SSL 证书并反向代理
网络协议·https·ssl
xixingzhe21 天前
正确认知HTTPS:并非万能加密,通信安全需要多层防护
网络协议·安全·https
Lsetea1 天前
OpenSSL verify报unhandled critical extension:error 34与关键扩展排查
运维·https·ssl证书·openssl·证书链
Lsetea2 天前
OpenSSL verify报CA certificate key too weak:auth_level与弱密钥链排查
运维·https·ssl证书·openssl·证书链
灯澜忆梦2 天前
【minio】#5 | MinIO 分布式部署 + HTTPS 部署
分布式·网络协议·https·对象存储·minio
Lsetea3 天前
Nginx加载证书时报SSL_CTX_use_PrivateKey_file失败:私钥配对与权限排查
nginx·https·ssl证书·私钥·证书部署
91刘仁德3 天前
HTTPS 加密原理与 CA 数字证书:从对称加密到完整通信流程
网络·笔记·网络协议·http·https
豆豆4 天前
2026 年建站架构选型实录:从 SC-081v3 证书新政与备案新规倒推 CMS 选型口径
架构·https·cms·geo·acme·web架构·pageadmin
Lsetea4 天前
OpenSSL verify报invalid CA certificate:basicConstraints与keyCertSign排查
运维·https·ssl证书·openssl·证书链