Describe the bug
Can not connect to server over https that use user installed CA. This works in pre-2 with 1.0.2, which had a network security config, tho I cant find that now, but the relevant part of it should be https://developer.android.com/training/articles/security-config#trust-anchors.
To Reproduce
Expected behavior
Connection succeeds
System (please complete the following information):
Thanks for the link, should be easy to add. Gonna look at this later.
@sopidos can you check if Gelli has the same issue? I'm thinking of implementing a similar fix for that application. A check for HTTP connections would also be appreciated if you have it enabled on your server.
Build of master at 7049677ec4e5a9610112691f5af3152f56dceae8, can confirm that does indeed fix it.
@dkanada Yes, it has, as it has no config either. I did test run and while I didn't check the logs, I got a generic credentials error, which it looks like it is the only error given, regardless of issue https://github.com/dkanada/gelli/blob/8eb4f515e3a717d5db04bfbe3a902282ad03c53c/app/src/main/java/com/dkanada/gramophone/ui/activities/LoginActivity.java#L92. A less generic error would probably handy, maybe just showing the exception in an alert dialog instead.
Most helpful comment
Build of master at 7049677ec4e5a9610112691f5af3152f56dceae8, can confirm that does indeed fix it.
@dkanada Yes, it has, as it has no config either. I did test run and while I didn't check the logs, I got a generic credentials error, which it looks like it is the only error given, regardless of issue https://github.com/dkanada/gelli/blob/8eb4f515e3a717d5db04bfbe3a902282ad03c53c/app/src/main/java/com/dkanada/gramophone/ui/activities/LoginActivity.java#L92. A less generic error would probably handy, maybe just showing the exception in an alert dialog instead.