griZZZly8
griZZZly8

Reputation: 694

React-native fetch. CertPathValidatorException error

The complete error

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

My target platform is Android. The problem I suppose is in self-signed ssl certificate on the backend. And I can't change it. So the question. Is there any way to install this certificate to my device (trust it) so I can make fetch requests?

Upvotes: 3

Views: 3067

Answers (1)

griZZZly8
griZZZly8

Reputation: 694

The problem was solved with https://www.npmjs.com/package/react-native-pinch package.

Upvotes: 2

Related Questions