[英]Trust anchor for certification path not found in Microsoft Graph API
I have been using the Microsoft Graph API in my android application to get the calendar events etc... The Authentication and events data retrieval were all working fine, but Microsoft Graph is not working properly on devices under 4.4 lately, when I try to get user data or calendar events, an exception occurs.我一直在我的 android 应用程序中使用 Microsoft Graph API 来获取日历事件等...身份验证和事件数据检索都工作正常,但 Microsoft Graph 最近在 4.4 以下的设备上无法正常工作,当我尝试获取用户数据或日历事件,发生异常。 I run the same codes on 2 android SDK versions, on 6.0, I can get all the data I want but on 4.4, it fails with the exception:
我在 2 android SDK 版本上运行相同的代码,在 6.0 上,我可以获得我想要的所有数据,但在 4.4 上,它失败了,但有以下例外:
Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.原因:java.security.cert.CertificateException:java.security.cert.CertPathValidatorException:找不到证书路径的信任锚。
Please suggest solutions for resolving this issue.请提出解决此问题的解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.