-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work with self-signed certificates #9
Comments
Can confirm that, having the same issue. |
@Benimautner Should this be fixed in the app or should it work if users import the certificate into android's ca store? |
I don't like the idea of importing (temporary) self-signed certificates in the Android CA ... |
This should probably be fixed in the app. Maybe by importing the cert directly or by only showing a warning if an untrusted certificate is used. I like the first one better, the second one seems very insecure. I was AFK for the last couple of days so excuse my late response. I will take a look at it in the coming days. |
Some common solution seems to be an option in the settings "dont verify certificates" |
Attached is a version of the app implementing this. |
@Benimautner, maybe I miss something, but I have to log in first to be able to change options. Right now I still can't log in. |
@kdrobnyh True, my mistake. Here you go. |
can confirm it's working now. Thank you! |
@Benimautner, "HttpException: Content size exceeds specified contentLength. 4 bytes written while expected 0. [null]". Do you have any idea what can cause this? Also, "login with frontend" just freezes with a white screen. |
Strange. I had the exact same error message on first try, second try worked wothout an error. Thought it was my mobile phone fooling around... |
This is a bug which occurs when two requests happen too close to each other, as discovered by @k9withabone. This needs a fix asap, but we need to think about possible solutions first. |
So the temporary workaround is to retry the request every time it fails. This will be fixed in a later release, but as self-signed certs are supported in the newest version, I will close this issue. Feel free to reopen it if you need anything else. |
Hi! Thanks in advance! |
Still have |
I think I finally figured it out. I set up my own self-signed cert to debug with, and it works for me. Just one last round of feedback before I create a release would be great. |
Looks like the app works now, thanks! |
published in v0.0.20-alpha |
GIves an error message if you have a self-signed certificate (which I use for testing), so not usable.
The text was updated successfully, but these errors were encountered: