Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/327.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java CertPathValidatorException:找不到证书路径的信任锚点。在android中更新gradle和gradle插件后_Java_Android Studio_Gradle_Retrofit2_Gradle Plugin - Fatal编程技术网

Java CertPathValidatorException:找不到证书路径的信任锚点。在android中更新gradle和gradle插件后

Java CertPathValidatorException:找不到证书路径的信任锚点。在android中更新gradle和gradle插件后,java,android-studio,gradle,retrofit2,gradle-plugin,Java,Android Studio,Gradle,Retrofit2,Gradle Plugin,我尝试通过以下代码检查SSL(并成功工作): 或 错误是: CertPathValidatorException: Trust anchor for certification path not found. 请保存我这意味着证书是为颁发的,因此不能信任任何.example.com-此服务器需要正确的签名证书 https://example.com:448/ https://subdomain.example.com/ CertPathValidatorException: Trust a

我尝试通过以下代码检查SSL(并成功工作):

错误是:

CertPathValidatorException: Trust anchor for certification path not found.

请保存我

这意味着证书是为颁发的,因此不能信任任何.example.com-此服务器需要正确的签名证书

https://example.com:448/
https://subdomain.example.com/
CertPathValidatorException: Trust anchor for certification path not found.