Weird encryption requirement with cups-1.2.x

Daniel Kasak dkasak at nusconsulting.com.au
Sun Jul 2 17:37:44 PDT 2006


I just upgraded to cups-1.2.1 on my print server ( a 350 Mhz G3 ... it
took quite some time to build cups, ghostscript, gimp-print, etc ), and
I can't connect to the web admin thing to do anything :(

I removed my old cups *completely* ( including /etc/cups ) and installed
the default /etc/cups/cupsd.conf

I then allowed 192.168.1.* to connect and do admin stuff, restarted
cups, and connected from my laptop with firefox.

Cups detected my printer ( Epson R800 ) and offered a link to set it up.
When I got to the page where you select a PPD, the correct PPD was
already selected. When I hit the 'add' button, I get a message saying
that I have to connect to an https server, and my browser was redirected
to an https server, but with my fully qualified hostname ( which fails
because only the local network is allowed to connect ).

I then edited my /etc/hosts file on the print server, and fully
qualified hostname ( I left the internal name that's in my laptop's
/etc/hosts file ), and tried again. I got a *little* further. I was
redirected to the correct address, but then Firefox told me that it was
unable to connect to the server, because it couldn't figure out an
encryption method that both server & client understands. I assure you
that encryption works with Firefox - I use it to connect to a fair few
encrypted sites already. I checked in about:config and everything that
had anything to do with encryption was already enabled.

I then downloaded and installed QT and Opera. I went through the same
process. Using Opera, the web admin pages loaded a LOT slower - I waited
for about 5 minutes while the images for each button loaded. When I
finally got to the page where I hit 'add' to connect a PPD to the
printer, I got redirected to the https site, and then I got a 404 error.

I checked on the server, and the cupsd process had died. I looked in the
error log, and there was an error along the lines that cups had died,
and I should turn up the logging level to 'debug'. I did that, restarted
cups, went through the whole process again, and cups died again, but
didn't say anything further in the error log.

I tried a few more times with Firefox and Opera. Firefox always says it
can't find a common encryption method to use. Opera always crashes cups.

I have also tried commenting out the line that says 'Encryption
Required' in the Admin location ( and restarting ). This has no effect -
I am always forced to use encryption when adding a printer.

Any ideas?

Dan




More information about the cups mailing list