LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-28-2019, 11:35 AM   #16
Chucko
LQ Newbie
 
Registered: Jun 2018
Posts: 29

Original Poster
Rep: Reputation: Disabled

So this thread has morphed from trying to enforce HTTPS-ONLY into a primer on CUPS configuration -- for which I'm grateful.

I've decided to go with Mode-1 as described above because, that mode uses the CUPS client.conf to point to the remote CUPS server and allows me to eliminate the localhost server entirely - obviating the need to control HTTP access by eliminating the server entirely. Without a system restart, I also added:

Code:
# systemctl stop cups-browsed.service
# systemctl stop cups.service
to the above commands.

With regards to Mode-2 above, that's where I started. In Mode-2, Ubuntu's Settings > Devices > Printers dialog provides a "live" Add Printers button. However, despite the fact that cups-browsed does apparently identify the remote printer, every attempt to add it resulted either in the alert "Add new printer failed" or in the localhost CUPS server reporting "Filter Failed" when any attempt was made to print. I eventually discovered how to point the local CUPS client to the remote server (i.e. Mode-1) which added the printer and successfully prints to it as described earlier in this thread.

Since the Mode-1 implementation does eliminate the undesired HTTP access by virtue of eliminating the localhost server entirely, I'm going to mark this thread SOLVED. I will leave the issue (?) associated with Ubuntu's un-intuitive method of adding a remote CUPS printer via Mode-2 for another thread at another time.

Thanks again phild.g for your help.
 
  


Reply

Tags
cups, https



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent Help: Need to Restrict Ftp on WAN Allow only on LAN kaviajan Linux - Security 4 12-23-2011 05:20 AM
Restrict Access to an HTTP Server and Allow the Site to be Accessible through HTTPS Hi_This_is_Dev Linux - Server 1 12-16-2009 06:53 AM
Allow only ssl, https:// not http:// on apache2 webserver, Linux therapeias Linux - Server 1 04-11-2008 04:03 PM
Sendmail: How to restrict connections to LAN only rwalkerphl Linux - General 3 01-18-2008 01:41 AM
hosts.allow file to allow only a single IP sailu_mvn Linux - Networking 2 06-06-2007 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration