【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);
相关推荐
win x10 小时前
深入理解HTTPS协议加密流程
网络协议·http·https
仙俊红10 小时前
从 Filter / Interceptor 到 HTTPS
网络协议·http·https
游戏开发爱好者810 小时前
日常开发与测试的 App 测试方法、查看设备状态、实时日志、应用数据
android·ios·小程序·https·uni-app·iphone·webview
2501_9151063212 小时前
app 上架过程,安装包准备、证书与描述文件管理、安装测试、上传
android·ios·小程序·https·uni-app·iphone·webview
yixvxi1 天前
RFC 8659:DNS CAA资源记录
服务器·https·ssl
三水不滴1 天前
计算机网络核心网络模型
经验分享·笔记·tcp/ip·计算机网络·http·https
404Clukay2 天前
Windows Server 配置 Let‘s Encrypt 免费 HTTPS 证书(WACS + Nginx 自动化方案)
windows·nginx·https
2501_915918412 天前
在 iOS 环境下查看 App 详细信息与文件目录
android·ios·小程序·https·uni-app·iphone·webview
苦逼IT运维2 天前
Helm 实战指南(四):生产环境 Helm 部署 CVAT 全记录:Ceph 存储、GPU 节点污点调度与 HTTPS 指南
ceph·网络协议·https
2501_915106322 天前
当 Perfdog 开始收费之后,我重新整理了一替代方案
android·ios·小程序·https·uni-app·iphone·webview