no printers listed using https connection
Richard Hall
r.j.hall at rhul.ac.uk
Thu Oct 21 05:20:47 PDT 2004
I have a cups server running quite happily apart from the web config and
info pages using https. I do not want to allow connection to the admin
pages without encryption, so I added the SSLPort 192.168.203.6:443
directive and the details for the servers certificate and key files. I
can connect to the cups web server fine without encryption to port 631
and if I go to the printers section, it displays the printers. However,
if I connect using https and go to any of the pages, it does not list
any of my printers. this is true for all the pages. It connects fine and
displays the pages as if I had no printers configured. I have restarted
the server several times. I am using version 1.1.20 of cups.
http://server:631/ <--- Works and lists printers
https://server/ <--- Works, but does not list any printers
My config with all the comment lines removed is as follows:
AccessLog /var/log/cups/access_log
DataDir /usr/share/cups
DefaultCharset utf-8
DefaultLanguage en
DocumentRoot /usr/share/cups/docs
ErrorLog /var/log/cups/error_log
FontPath /usr/share/cups/fonts
LogLevel info
MaxLogSize 10485760
PageLog /var/log/cups/page_log
Printcap /etc/printcap
ServerCertificate /etc/openssl/server-cert.pem
ServerKey /etc/openssl/private/server-key.pem
User lp
Group lp
Listen 192.168.XXX.XXX:631
Listen 127.0.0.1:631
SSLPort 192.168.XXX.XXX:443
SystemGroup lp
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.XXX.*
Allow From 192.168.XXX.*
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.XXX.XXX #
Allow From 192.168.XXX.XXX #
Allow From 192.168.XXX.XXX # These are modified for the post
Allow From 192.168.XXX.XXX #
Encryption Always
</Location>
any ideas as to why all my printers dissapear under the encrypted pages?
More information about the cups
mailing list