[cups] SSL in cups 2.3.3op2

Douglas Kosovic doug at uq.edu.au
Sun Oct 8 20:17:01 PDT 2023


Hi Mark,

> Upgraded to Bullseye on Raspberry Pi 3B+  fromStretch. Far too
> many issues with CUPS 2.3.3op2.
> 
> I need to get SSL activated so that Android 9 and up can print

CUPS supports both ipp and (TLS/SSL encrypted) ipps for printing out of the box, so don't think this is the issue.

> I have found several pages on the internet with the same topic,
> some say you only need to add the certificates and add some
> lines to cupsd.conf that point to them but that apparently
> does not work . One page said they are automatically generated.

You can check encryption is working with CUPS by going to the CUPS server's web interface using https instead of http, e.g. :

   https://localhost:631

ipp and ipps use that same port 631.

(Assuming 'WebInterface Yes' is set in /etc/cups/cupsd.conf which I believe it is by default)

Android and Windows uses Mopria certified printers for driverless printing, while Apple uses AirPrint.

In the "What printers does my Android device support?" from the following Android printing FAQ : 
https://mopria.org/androidfaq

It states "By default, your Android 8 and higher device supports all printers that are Mopria certified. Your Android device will automatically discover any nearby Mopria certified printer."

The following page describes when Mopria compatibility was added :
https://github.com/OpenPrinting/cups/pull/126

So you need CUPS 2.4 or later's Mopria capability for printing with Android 8 or later (unless the Debian CUPS packages backported Mopria compatibility to earlier versions of CUPS).

> Too many changes in CUPs and not enough complete documentation.
> This is what gives linux a bad name. We need full and complete
> documentation for each specific version of CUPS

The CHANGES.md file the OpenPrinting github CUPS repository is a good place to see the changes between versions:
https://github.com/openprinting/cups

Going to https://localhost:631 will have docs for the specific version you are using.

> I also need to know if SAMBA driver support has been removed.

Microsoft has announced that they plan to drop support for print drivers and encouraging moving to driverless Mopria compliant printers that was first made possible with the release of Windows 10 21H2.

https://learn.microsoft.com/en-us/windows-hardware/drivers/print/end-of-servicing-plan-for-third-party-printer-drivers-on-windows

SAMBA doesn't support Windows type 4 print drivers (i.e. no support for the IPP Class inbox driver), only type 3 which is  prone to the fallout of the "PrintNightmare" critical security vulnerability that affected Microsoft Windows. Do a google search for "SAMBA PrintNightmare". 

If you setup a IPP Everywhere or driverless queue on CUPS 2.4 or later, Windows 10 21H2 or later should be able to find and add it without the need for any drivers. 





Cheers,
Doug


More information about the cups mailing list