android Trust anchor for certification path not found. My backend have not self assigned certificate. What to do?

怎甘沉沦 提交于 2021-02-11 13:36:41

问题


My backend server can be accessed only by https. The certificate was bought/configured from a certificate authority (CA). When I am trying to access my API through retrofit, I am getting error W/System.err: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

The certificate which is configured on backend, I can not just put into my app. Then everyone using my app, can hack into and steal it.

What to do?


回答1:


Problem was that on backend Intermediate certificate was not. So this problem has been solved. Here is more info https://github.com/kubernetes/ingress-nginx/issues/6398



来源:https://stackoverflow.com/questions/64600587/android-trust-anchor-for-certification-path-not-found-my-backend-have-not-self

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!