gpt4 book ai didi

android - Android 4.4 上的 SSL 证书问题 : Trust anchor for certification path not found

转载 作者:太空宇宙 更新时间:2023-11-03 14:22:06 27 4
gpt4 key购买 nike

我知道为什么,但我在 Android 4.4 (HTC 626) 上的应用无法连接到我的网站。问题发生在应用程序使用 URLConnection 和 OkHttpClient 以及当我尝试在 Chrome 中打开网站时(“连接不是私有(private)的”)。

javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Sectigo 颁发的证书。 SSL Checker 不会显示服务器上证书的问题。 Android 9(三星A50)不会出现该问题。我想尝试另一个 CA。有什么想法吗?

最佳答案

通过用 Thawte SSL123 替换 Comodo (Sectigo) Positive SL 解决了这个问题。这不是广告。两个证书都是由一位专家安装的,所以我认为 nginx 配置没有错误。

关于android - Android 4.4 上的 SSL 证书问题 : Trust anchor for certification path not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59634536/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com