-
Notifications
You must be signed in to change notification settings - Fork 258
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
Regarding the reasons why "Accept all SSL certificates" option was removed #532
Comments
FYI, someone on the Play Store wrote without further informations.
|
Thanks for the info. Probably #479. |
Is it possible, that removing this option locks out users with a RaspberryPi (Yunohost) in a local domain and a mobile device with LineageOS? |
Lineage OS 15.1 here. Just tested: importing CA for self-signed certs does work. BTW, I imported Update: |
Thank you very much for helping - I really appreciate this I did some more tests and thought about what might going wrong. In fact there are a lot of things that might be wrong so it might be better to tell the whole story: First of all: I don't exactly understand all what I'm doing. I try, but there might be some fundamental errors. Now when I insert the URL above into the Wallabag app I get a response When I now upload ca.crt the message changes into Is there a problem because yunohost.local is only redirected by the hosts file? If yes there's no chance for me to fix it under the circumstances I have? |
I would check if you can install an alternative firmware on your router (like OpenWrt or DD-WRT). Alternatively maybe you can set up a DNS server (that would resolve general addresses + your local ones) on your Raspberry and make your clients (preferably by pushing it via DHCP) or the router use this server. That would localize your workaround to servers, rather than making adjustments to clients. You can also try adding the IP address to the SSL cert. I haven't tried it, but I guess that way you should avoid the |
Thank you very much. This might be the evidence that there is something wrong with my server certificate (standard yunohost installation) and the certificate I imported into my LineageOS devices. |
I think you should first check your server.crt (or whatever it is called for you) with this: I went through the commands in this comment except that I changed the last two to these to include SAN:
Then checked the
Then imported |
Thank you very much! I can't believe it finally worked :-) In my v3.ext file I changed the line Finally I copied server.key into Then I started the Wallabag connection assistant again. (Maybe this was important. First I got http-400-errors when trying to edit the connection which was stored in the settings) Again, thank you very much for your help! |
You're welcome! Good to know you got it working. |
This really saved my day, thank you! |
This option was intentionally removed because it creates a false sense of security. At any given moment you're not able to tell if your connection is actually secure or it was tampered with.
Possible solutions:
If you don't have a domain name yet, you might need to register it. Nowadays you can register a cheap (or maybe even free) domain name.
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found
and you used the option to avoid the error, then you should configure your server properly. See SSL certificate error with Let's Encrypt #516.Also, feel free to create a PR for #258 to implement a memorizing trust manager.
The text was updated successfully, but these errors were encountered: