I have a question about configuring CUPS for CentOS. I have CUPS installed on CentOS in one machine, and I am trying to access the web interface of CUPS from a different machine. The machine with CentOS and CUPS have an IP of 10.0.0.1, and the second machine have an IP of 10.0.0.2. I have a network printer set up with an IP of 10.0.0.10 and both machine can ping the printer. But the second machine cannot access the CentOS machine via web interface.
Below is part of my cupsd.conf file:
SystemGroup sys root
Listen *:631
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress 10.0.0.2:631
<Location />
Order allow,deny
Allow from 10.0.0.2
</Location>
<Location /admin>
Order allow,deny
Allow from 10.0.0.2
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow from 10.0.0.2
</Location>
I also read somewhere that CUPS for CentOS requires SSL Certificate, is that true?
Best Answer
CUPS does not require the SSL certificate. You can disable the https by adding
DefaultEncryption Never
to the config file and restarting the daemon. In recent versions of CentOS (you didn't specify the version you're running), there's an "Allow remote administration" checkbox in the web interface that will provide remote CUPS admin page access on port 631. In your case, browse to: https://10.0.0.1:631/adminHere's the standard CUPS file I tend to deploy on new systems.