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
Untrusted SSL #157
Comments
Android Pie and above does not allow Clear Text HTTP Traffic by default. Its possible to allow such requests to be made by our app using |
Would it be possible to release a new version of the app with this change in? |
I am still having issue with this. Is it possible to print to an ipaddress or local server without https? |
I initially only had plain HTTP running and added a HTTPS listening port along with a self-signed cert. (Probably won't get a proper cert for my internal network.) I configured that https:// printer manually, but I still cannot print to it. It becomes "unavailable" after selecting it. It seems that somehow either HTTP is chosen again, or (that'd be my guess) it cannot cope with the self-signed cert: I didn't get any notification whether or not I'd like to accept that. So it's probably considered invalid. Server-side log while selecting the configured printer:
So it's indeed talking to the HTTPS port (632), but only for a few packets. That would match my assumption of an error during cert verification, but as I said: I wasn't offered a dialog to accept that cert. |
If it's self signed, did you add the root CA certificate into the trusted certificates in the OS? |
I've got the same problem above. I'm using this app to print from a cups server running in a docker. Very dirty solution:
|
Clear text traffic is no longer allowed in Android 9.0. Please enable SSL/TLS on the CUPS server/printer.
Trying to manually specify printer without ssl will give this error at print time.So it's better to suggest
https://server.tld:631/printers/Printer_Name
at least on android 9, or even prepend https as a must.This requires three printing attempts before sucessfull printing will be possible.
On the one hand this is correct behaviour, on the other the native
Default Print Service
in android 9 silently trust this certificate.The text was updated successfully, but these errors were encountered: