BenoitDuffez / AndroidCupsPrint

Port of cups4j to Android. Allows wireless printing from any Android device to any CUPS-enabled print server or network printer.
https://benoitduffez.github.io/AndroidCupsPrint
GNU Lesser General Public License v3.0
228 stars 66 forks source link

CUPS encryption. #175

Closed thegala closed 4 years ago

thegala commented 4 years ago

When selecting any Android Cups printer i got error.

This printer isn't available right now.

When looking logs on my server i found:

[Client 968] Unable to encrypt connection: A TLS fatal alert has been received.

Does this application enables encryption when talking to CUPS server? Is there anyway to enable it?

BenoitDuffez commented 4 years ago

It is enabled by default and mandatory on most Android versions. If you use avahi/zeroconf/bonjour you should ensure the advertised address is the secure one. Otherwise you could disable the non-secure interface in cups or set up a redirection.

I hope this helps. I'm closing as not an issue but remain available for comment of course!