LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-04-2011, 09:37 AM   #1
bsl4ever
LQ Newbie
 
Registered: Apr 2011
Posts: 17
Blog Entries: 1

Rep: Reputation: 0
Secure printing with Fedora 15.


Hi all,

I've been trying to get Fedora 15 to print secure using ssl to a Richo MP C2551, to no avail.
Here is what i did so far:
- Updated the version of Cups to 1.6svn
- Downloaded and install a2ps, since Fedora 15 does not support
postscript.
- Opened ports on the firewall for the local host 631, as well as 443.
- Tried to modify the cupsd.conf adding 443 to it, but that did not
work neither.
Did you ever experience this problem before, and if so can you shed some light on this.

Thanks.
 
Old 10-10-2011, 09:10 AM   #2
bsl4ever
LQ Newbie
 
Registered: Apr 2011
Posts: 17

Original Poster
Blog Entries: 1

Rep: Reputation: 0
anybody seen this? I really need some help getting this to work. I have tried diffrent versions of cups, etc..

Does anybody know how to modify the encryption settings in Fedora 15 to match what the printer is asking for? which is:
Encryption Strength Setting
AES : 128bit 256bit
3DES : 168bit
DES : 40bit 56bit
RC4 : 40bit 56bit 64bit 128bit
RC2 : 40bit 56bit 128bit

Thanks a lot.
 
Old 10-10-2011, 10:23 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
"did not work neither" is not technical data we can work with. Please post your CUPS config (as in 'grep -v ^# /path/to/configfile|grep .;') and what does the log say on the server when you restart CUPS and try to connect a client?
 
Old 10-10-2011, 11:17 AM   #4
bsl4ever
LQ Newbie
 
Registered: Apr 2011
Posts: 17

Original Poster
Blog Entries: 1

Rep: Reputation: 0
Below is my cupsd.conf file:
Code:
MaxLogSize 1m
LogLevel debug2
SystemGroup sys root
Listen localhost:631
Listen /var/run/cups/cups.sock
  </location/>
  Localhost.localdomain
  Order deny,allow
  Deny from all
  Allow From 127.0.0.1 Relay
  Allow From 132.238.0.0/16 Relay

SSLCertificateKeyFile
/etc/cups/ssl/certs/

</Location>
    Browsing On
    BrowseOrder allow,deny
    BrowseAllow all
    BrowseLocalProtocols cups
    DefaultAuthType Basic
<Location />
  Order allow,deny
</Location>
<Location /admin>
 Order allow,deny
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>
<Policy default>
  <Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
  </Limit>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
  </Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
  </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
  </Limit>
  <Limit All>
Order deny,allow
  </Limit>
</Policy>
<Policy authenticated>
  <Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order deny,allow
  </Limit>
 <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
  </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
  </Limit>
  <Limit All>
Order deny,allow
  </Limit>
</Policy>
The error log will be in a seperate reply.

Thanks.

Last edited by unSpawn; 10-10-2011 at 11:35 AM. Reason: //Encapsulate in BB code tags
 
Old 10-10-2011, 11:21 AM   #5
bsl4ever
LQ Newbie
 
Registered: Apr 2011
Posts: 17

Original Poster
Blog Entries: 1

Rep: Reputation: 0
Code:
>data_encoding=HTTP_ENCODE_LENGTH, con->data_remaining=0, con->file=-1
D [07/Oct/2011:21:39:40 +0000] cupsdReadClient: 16 POST / HTTP/1.1
D [07/Oct/2011:21:39:40 +0000] cupsdSetBusyState: Active clients and printing jobs
d [07/Oct/2011:21:39:40 +0000] cupsdFindBest: uri = "/"...
d [07/Oct/2011:21:39:40 +0000] cupsdFindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0
d [07/Oct/2011:21:39:40 +0000] cupsdFindBest: Location /admin/conf Limit 7f
d [07/Oct/2011:21:39:40 +0000] cupsdFindBest: Location /admin Limit 7f
d [07/Oct/2011:21:39:40 +0000] cupsdFindBest: Location / Limit 7f
d [07/Oct/2011:21:39:40 +0000] cupsdFindBest: best = /
d [07/Oct/2011:21:39:40 +0000] cupsdAuthorize: con->uri="/", con->best=0x22161e90(/)
d [07/Oct/2011:21:39:40 +0000] cupsdAuthorize: Authorization=""
D [07/Oct/2011:21:39:40 +0000] cupsdAuthorize: No authentication data provided.
d [07/Oct/2011:21:39:40 +0000] cupsdIsAuthorized: con->uri="/", con->best=0x22161e90(/)
d [07/Oct/2011:21:39:40 +0000] cupsdIsAuthorized: level=CUPSD_AUTH_ANON, type=None, satisfy=CUPSD_AUTH_SATISFY_ALL, num_names=0
d [07/Oct/2011:21:39:40 +0000] cupsdIsAuthorized: auth=CUPSD_AUTH_ALLOW...
d [07/Oct/2011:21:39:40 +0000] cupsdReadClient(con=0x221da6c0(16)) con->http.error=0 con->http.used=113, con->http.state=6 con->data_encoding=HTTP_ENCODE_LENGTH, con->data_remaining=113, con->file=-1
d [07/Oct/2011:21:39:40 +0000] cupsdReadClient(con=0x221da6c0(16)) con->http.error=0 con->http.used=84, con->http.state=6 con->data_encoding=HTTP_ENCODE_LENGTH, con->data_remaining=84, con->file=-1
d [07/Oct/2011:21:39:40 +0000] cupsdReadClient(con=0x221da6c0(16)) con->http.error=0 con->http.used=47, con->http.state=6 con->data_encoding=HTTP_ENCODE_LENGTH, con->data_remaining=47, con->file=-1
d [07/Oct/2011:21:39:40 +0000] cupsdReadClient(con=0x221da6c0(16)) con->http.error=0 con->http.used=1, con->http.state=6 con->data_encoding=HTTP_ENCODE_LENGTH, con->data_remaining=1, con->file=-1
D [07/Oct/2011:21:39:40 +0000] cupsdReadClient: 16 1.1 Get-Printer-Attributes 1
d [07/Oct/2011:21:39:40 +0000] cupsdProcessIPPRequest(0x221da6c0[16]): operation_id = 000b
D [07/Oct/2011:21:39:40 +0000] Get-Printer-Attributes ipp://localhost/printers/Richo
d [07/Oct/2011:21:39:40 +0000] get_printer_attrs(0x221da6c0[16], ipp://localhost/printers/Richo)
d [07/Oct/2011:21:39:40 +0000] cupsdFindPolicyOp(p=0x22167f20, op=b(Get-Printer-Attributes))
d [07/Oct/2011:21:39:40 +0000] cupsdFindPolicyOp: Found wildcard match...
d [07/Oct/2011:21:39:40 +0000] cupsdIsAuthorized: con->uri="/", con->best=0x22169458((null))
d [07/Oct/2011:21:39:40 +0000] cupsdIsAuthorized: level=CUPSD_AUTH_ANON, type=None, satisfy=CUPSD_AUTH_SATISFY_ALL, num_names=0
d [07/Oct/2011:21:39:40 +0000] cupsdIsAuthorized: op=0(unknown-0000)
d [07/Oct/2011:21:39:40 +0000] cupsdIsAuthorized: auth=CUPSD_AUTH_ALLOW...
d [07/Oct/2011:21:39:40 +0000] printer-icons="http://localhost:631/icons/Richo.png"
d [07/Oct/2011:21:39:40 +0000] add_printer_state_reasons(0x221da6c0[16], 0x22169498[Richo])
d [07/Oct/2011:21:39:40 +0000] printer-uri-supported="ipp://localhost:631/printers/Richo"
d [07/Oct/2011:21:39:40 +0000] add_queued_job_count(0x221da6c0[16], 0x22169498[Richo])
d [07/Oct/2011:21:39:40 +0000] copy_attrs(to=0x221e76b0, from=0x2216ae80, ra=(nil), group=0, quickcopy=0)
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216aeb0[uri-authentication-supported,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216af18[uri-security-supported,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216af68[printer-name,4,42])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216afa8[printer-location,4,41])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x22160460[printer-info,4,41])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x22160488[job-quota-period,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221604d0[job-k-limit,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x22160510[job-page-limit,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x22160558[auth-info-required,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221605a0[job-sheets-default,4,42])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221605f0[device-uri,4,45])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216dbb0[document-format-supported,4,49])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216df38[copies-default,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216df60[document-format-default,4,49])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216df88[job-hold-until-default,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216dfb0[job-priority-default,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216dfd8[number-up-default,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216e000[notify-lease-duration-default,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216e058[notify-events-default,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216e0c8[orientation-requested-default,4,13])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216e0f0[print-quality-default,4,23])
d [07/Oct/2011:21:39:40 +0000] copy_attrs(to=0x221e76b0, from=0x22160630, ra=(nil), group=0, quickcopy=0)
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216fb28[color-supported,4,22])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216fbc0[print-quality-supported,4,23])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216fb70[printer-make-and-model,4,41])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216fc70[media-default,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216ffc8[media-supported,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x22170128[media-source-supported,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216ff80[media-bottom-margin-supported,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x22170280[media-left-margin-supported,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x22170330[media-right-margin-supported,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x22170230[media-top-margin-supported,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221afb60[output-bin-supported,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221afb88[output-bin-default,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221afbb0[output-mode-supported,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221afc00[output-mode-default,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221afc78[printer-resolution-supported,4,32])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221afc28[printer-resolution-default,4,32])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221afd28[sides-supported,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221afdd0[sides-default,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221afe18[printer-commands,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221afe60[port-monitor,4,42])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221afe88[port-monitor-supported,4,42])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221afed8[finishings-supported,4,23])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x221aff20[finishings-default,4,23])
d [07/Oct/2011:21:39:40 +0000] copy_attrs(to=0x221e76b0, from=0x22169ee0, ra=(nil), group=0, quickcopy=-2147483648)
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216ae30[charset-configured,4,80000047])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216adc8[charset-supported,4,80000047])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216ad70[compression-supported,4,80000044])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216ada0[copies-supported,4,33])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216ad20[cups-version,4,80000041])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216ad48[generated-natural-language-supported,4,48])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a0d8[ipp-versions-supported,4,80000044])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216acf8[ippget-event-life,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a190[job-creation-attributes-supported,4,80000044])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a2b0[job-hold-until-supported,4,80000044])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a990[job-priority-supported,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a3a0[job-settable-attributes-supported,4,80000044])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a4a8[job-sheets-supported,4,80000042])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a558[media-col-supported,4,80000044])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a5e8[multiple-document-handling-supported,4,80000044])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a968[multiple-document-jobs-supported,4,22])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a800[multiple-operation-time-out,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a7a8[natural-language-configured,4,48])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a740[notify-attributes-supported,4,80000044])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a718[notify-lease-duration-supported,4,33])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a6a0[notify-max-events-supported,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a850[notify-events-supported,4,80000044])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a350[notify-pull-method-supported,4,80000044])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216b090[notify-schemes-supported,4,44])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a9e0[number-up-supported,4,21])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216aa60[operations-supported,4,23])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216ac80[orientation-requested-supported,4,23])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a058[page-ranges-supported,4,22])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216a0a8[pdl-override-supported,4,80000044])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x22169f38[printer-op-policy-supported,4,80000042])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x22169f90[printer-settable-attributes-supported,4,80000044])
d [07/Oct/2011:21:39:40 +0000] copy_attribute(0x221e76b0, 0x2216e140[server-is-sharing-printers,4,22])
D [07/Oct/2011:21:39:40 +0000] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost/printers/Richo) from localhost
d [07/Oct/2011:21:39:40 +0000] cupsdProcessIPPRequest: ippLength(response)=6722
d [07/Oct/2011:21:39:40 +0000] cupsdAddSelect(fd=16, read_cb=0xbed577, write_cb=0xbed004, data=0x221da6c0)
d [07/Oct/2011:21:39:40 +0000] select_timeout(0): 11 seconds to start pending jobs
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(0), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7
d [07/Oct/2011:21:39:40 +0000] cupsdWriteClient(con=0x221da6c0(16)) response=0x221e76b0(2), file=-1 pipe_pid=0 state=7

Last edited by unSpawn; 10-10-2011 at 11:36 AM. Reason: //Encapsulate in BB code tags
 
Old 10-10-2011, 11:53 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
So how did you envision this to work using only a single "SSLCertificateKeyFile /etc/cups/ssl/certs/" line in the first place I wonder?
 
Old 10-10-2011, 12:13 PM   #7
bsl4ever
LQ Newbie
 
Registered: Apr 2011
Posts: 17

Original Poster
Blog Entries: 1

Rep: Reputation: 0
As you can see i'm a newbee, that is why i'm asking the expert. I appreciate any suggestion you can give me.

Thanks.
 
Old 10-10-2011, 01:05 PM   #8
bsl4ever
LQ Newbie
 
Registered: Apr 2011
Posts: 17

Original Poster
Blog Entries: 1

Rep: Reputation: 0
HI again,

How many certs do i need to have under SSLCertificateKeyFile?
I downloaded the cert i have there now from the copier/printer web interface, and i noticed there were 3 diffrent formats.
How shoud i proceed with this?

Thanks a lot for you help.
 
Old 10-10-2011, 07:44 PM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
With these lines, the plus sign just meaning "add to config in appropriate location"
Code:
+DefaultEncryption IfRequested
+BrowseRemoteOptions compression=yes&encryption=required
+SSLPort 443
+ServerCertificate /etc/cups/ssl/server.crt
+ServerKey /etc/cups/ssl/server.key
 <Location />
+  Encryption IfRequested
 </Location>
I can access a CUPS server at https://host:631. The file with which to create certs used to reside somewhere deep in /usr but in Centos-5 it's /etc/pki/tls/certs/Makefile. If it hasn't got the same location in Fedora you should be able to find by listing contents of the openssl package ('rpm -ql openssl|grep Makefile').
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making TightVNC secure in connecting to Fedora 9 chrismichalczuk Linux - Newbie 1 04-10-2009 02:45 AM
Secure Shell Server - How to? (Fedora 10 ) Kratosaurion7 Linux - Server 5 12-24-2008 09:27 PM
Fedora Core 6 overly secure dmcmahon Linux - Security 8 11-06-2006 12:20 PM
not able to connect to secure sites with Squid 3.0 (Fedora) Khetho Linux - Enterprise 3 11-08-2005 09:53 PM
cannot connect to secure wireless network with Fedora 3 raindogs Linux - Wireless Networking 5 09-15-2005 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:57 PM.

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