Feed on
Posts
Comments

when i first setup a cups server and started trying to administer it, i’d get repeatedly get the following error: 426 “Upgrade Required,” even after allowing non-localhost connections onto my server.

i found this tip on a forum; it worked for me!

You need to create an encryption certificate. It sounds like Gentoo
is using OpenSSL instead of GNU TLS, so you’ll need to run:

openssl req -new -x509 -keyout /etc/cups/ssl/server.key \
-out /etc/cups/ssl/server.crt -days 365 -nodes

[Update] If you don’t want to configure SSL, Paul shared this wonderful tip:

To get rid of this problem, the key lies in editing your configuration files ( /etc/cups/cupsd.conf ) and adding the following line:

PLAIN TEXTCODE:
DefaultEncryption Never

There are several options, Never, IfRequired and Required. By setting this to Never, SSL will never be enforced. Just restart your CUPS server with

PLAIN TEXTCODE:
$ /etc/init.d/cupsys restart

and you’re good to go.


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

One Response to “cups problems: 426 Upgrade Required”

  1. on 22 May 2007 at 4:55 pm Paul

    The above explains what’s really wrong and the best way to fix it. Here’s another I found. Thanks!!! – I love the web site!!!!

    As I was installing my printer on my Ubuntu 6.06 Dapper LTS server with CUPS I noticed the following error:

    426 Upgrade Required

    After some research I came to the conclusion that CUPS, by default, tries to use SSL whenever possible. So, with this 426 error, you are redirected to the SSL domain. Chances are, you haven’t configured SSL properly, if at all.

    In my case, I didn’t want to configure SSL. To get rid of this problem, the key lies in editing your configuration files ( /etc/cups/cupsd.conf ) and adding the following line:

    PLAIN TEXTCODE:
    DefaultEncryption Never

    There are several options, Never, IfRequired and Required. By setting this to Never, SSL will never be enforced. Just restart your CUPS server with

    PLAIN TEXTCODE:
    $ /etc/init.d/cupsys restart

    and you’re good to go.

    Share and enjoy!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS

More blogs about http://desk.stinkpot.org:8080/tricks.