nilsbraden / ttrss-reader-fork

An Android-Client for the self-hosted Tiny Tiny RSS feedreader
https://www.nilsbraden.de/TTRSS-Reader/
151 stars 40 forks source link

Regression: Trust anchor for certification path not found #376

Closed protist closed 6 years ago

protist commented 6 years ago

I've been using TTRSS-Reader for over a year now, and it has been working well (thank you!). I just updated to 1.93.1 via Google Play, and I can no longer connect. I get the following error.

SSLException in doRequest(): Exception-Message:
java.security.cert.CertPathValidatorException: Trust
anchor for certification path not found. Exception-
Cause: java.security.cert.CertificateException:
java.security.cert.CertPathValidatorException: Trust
anchor for certification path not found.

I've manually copied the message, so it may have typos. The screenshot is here:

I tried installing the previous version 1.93.0 from the GitHub APK, but this also failed similarly. Finally, I reverted to 1.92.0, and it works perfectly again.

I see nothing obvious in my server's logs. I'm happy to troubleshoot further if necessary.

nilsbraden commented 6 years ago

Please try the build from here: https://github.com/nilsbraden/ttrss-reader-fork/releases/tag/v1.93.2 I changed the client certificate loading and moved some code around, hope this helps.

protist commented 6 years ago

Thank you! That works perfectly.

Thank you for the quick fix. I've also donated a small amount.

michailf commented 3 years ago

Did this break again? I am using self-signed cert and everything connects except this app. The error is the same as reported in this issue.