View previous topic :: View next topic |
Author |
Message |
POLAX n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/avatar19.gif)
Joined: 11 Dec 2003 Posts: 40 Location: Edmonton, AB - Canada
|
Posted: Mon Dec 29, 2003 3:34 pm Post subject: Any CUPS hackers out there? |
|
|
I decided to try configuring CUPS by hand, as I always like to do because GUI tools are a no-brainer, but when they break...
Anyways I cannot connect via web browser to my local CUPS server (not even the docs/admin pages). Can someone tell me what's wrong Here is my cupsd.conf:
Code: |
DocumentRoot /usr/share/cups/docs
LogLevel info
MaxLogSize 8388608
PageLog syslog
AutoPurgeJobs Yes
MaxCopies 25
MaxJobs 300
MaxJobsPerPrinter 30
MaxJobsPerUser 30
MaxPrinterHistory 9
Printcap /etc/printcap
RemoteRoot print
User lp
Group lp
RIPCache 16m
Port 631
Listen localhost:80
Port 443
HostNameLookups On
KeepAlive On
KeepAliveTimeout 150
MaxClients 255
MaxClientsPerHost 100
Timeout 600
BrowseProtocols cups
BrowseAddress @LOCAL
BrowseShortNames No
BrowseAllow @LOCAL
BrowseInterval 60
BrowseOrder allow,deny
ImplicitClasses On
ImplicitAnyCLasses On
HideImplicitMembers On
SystemGroup root
RootCertDuration 900
AuthGroupName print
<Location />
Order Allow,Deny
Allow From All
Allow From 127.0.0.1
Allow From localhost
Allow From @LOCAL
Deny From All
</Location>
<Location /classes/HPLJ6L>
Order Allow,Deny
Allow From All
Allow From 127.0.0.1
Allow From localhost
Allow From @LOCAL
</Location>
<Location /admin>
Order Allow,Deny
Allow From 127.0.0.1
Allow From localhost
Allow From @LOCAL
Deny From All
</Location>
|
Last edited by POLAX on Mon Dec 29, 2003 6:56 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
think4urs11 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8534934054bad29b51e5fa.jpg)
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Mon Dec 29, 2003 3:39 pm Post subject: |
|
|
Hi!
You need to add some Allow From for your local network
Otherwise you're only able to connect to the GUI from the box itself
HTH
T. _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
POLAX n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/avatar19.gif)
Joined: 11 Dec 2003 Posts: 40 Location: Edmonton, AB - Canada
|
Posted: Mon Dec 29, 2003 11:57 pm Post subject: Have to get past another hump first... |
|
|
It doesn't even let me connect locally,
and yes I've started cupsd. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
POLAX n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/avatar19.gif)
Joined: 11 Dec 2003 Posts: 40 Location: Edmonton, AB - Canada
|
Posted: Tue Dec 30, 2003 12:55 pm Post subject: Got most of it figured out |
|
|
Well I've got most of it figured out except I can't get it to use SSL properly.
How do I generate a server.key file
When I connect using https with mozilla I get an error saying that they have no common encryption algorithms ![Exclamation :!:](images/smiles/icon_exclaim.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
POLAX n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/avatar19.gif)
Joined: 11 Dec 2003 Posts: 40 Location: Edmonton, AB - Canada
|
Posted: Wed Dec 31, 2003 6:13 pm Post subject: Got It! |
|
|
The secret was in using openssl to create a server key + certificate
(Of course all this can be found in /usr/share/doc/cups-1.1.20/ENCRYPTION.txt.gz)
JOY ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|