Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 546
griZZZly8 Avatar asked Mar 09 '26 22:03

griZZZly8


1 Answers

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

like image 189
griZZZly8 Avatar answered Mar 12 '26 15:03

griZZZly8



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!