React-native fetch。 CertPathValidatorException错误

时间:2017-05-21 19:45:04

标签: android ssl react-native react-native-android

完整错误

java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

我的目标平台是Android。我想问的是后端的自签名证书。我无法改变它。所以问题。有没有办法将此证书安装到我的设备(信任它),以便我可以进行获取请求?

1 个答案:

答案 0 :(得分:1)