]> git.ipfire.org Git - thirdparty/cups.git/blame - man/client.conf.man.in
Update all references to OS X to macOS.
[thirdparty/cups.git] / man / client.conf.man.in
CommitLineData
b423cd4c 1.\"
7131e285 2.\" client.conf man page for CUPS.
b423cd4c 3.\"
08d56b1f 4.\" Copyright 2007-2016 by Apple Inc.
7131e285 5.\" Copyright 2006 by Easy Software Products.
b423cd4c 6.\"
7131e285
MS
7.\" These coded instructions, statements, and computer programs are the
8.\" property of Apple Inc. and are protected by Federal copyright
9.\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
10.\" which should have been included with this file. If this file is
11.\" file is missing or damaged, see the license at "http://www.cups.org/".
b423cd4c 12.\"
8072030b 13.TH client.conf 5 "CUPS" "20 June 2016" "Apple Inc."
b423cd4c 14.SH NAME
08d56b1f 15client.conf \- client configuration file for cups
b423cd4c 16.SH DESCRIPTION
7131e285
MS
17The \fBclient.conf\fR file configures the CUPS client and is normally located in the \fI/etc/cups\fR and/or \fI~/.cups\fR directories.
18Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character.
19.LP
8072030b
MS
20\fBNote:\fR Starting with macOS 10.7, this file is only used by command-line and X11 applications plus the IPP backend.
21The \fBServerName\fR directive is not supported on macOS at all.
22Starting with macOS 10.12, all applications can access these settings in the \fI/Library/Preferences/org.cups.PrintingPrefs.plist\fR file instead.
08d56b1f 23See the NOTES section below for more information.
7131e285
MS
24.SS DIRECTIVES
25The following directives are understood by the client. Consult the online help for detailed descriptions:
b423cd4c 26.TP 5
f51f3773 27\fBAllowAnyRoot Yes\fR
f9988e18 28.TP 5
f51f3773 29\fBAllowAnyRoot No\fR
f9988e18 30Specifies whether to allow TLS with certificates that have not been signed by a trusted Certificate Authority.
f51f3773 31The default is "Yes".
f9988e18 32.TP 5
f51f3773 33\fBAllowExpiredCerts Yes\fR
f9988e18 34.TP 5
f51f3773 35\fBAllowExpiredCerts No\fR
f9988e18 36Specifies whether to allow TLS with expired certificates.
08d56b1f 37The default is "No".
f9988e18 38.TP 5
7131e285 39\fBEncryption IfRequested\fR
b423cd4c 40.TP 5
7131e285 41\fBEncryption Never\fR
b423cd4c 42.TP 5
7131e285
MS
43\fBEncryption Required\fR
44Specifies the level of encryption that should be used.
b423cd4c 45.TP 5
7131e285
MS
46\fBGSSServiceName \fIname\fR
47Specifies the Kerberos service name that is used for authentication, typically "host", "http", or "ipp".
48CUPS adds the remote hostname ("name@server.example.com") for you. The default name is "http".
07ed0e9a 49.TP 5
7131e285 50\fBServerName \fIhostname-or-ip-address\fR[\fI:port\fR]
b423cd4c 51.TP 5
7131e285
MS
52\fBServerName \fI/domain/socket\fR
53Specifies the address and optionally the port to use when connecting to the server.
8072030b 54\fBNote: This directive it not supported on macOS 10.7 or later.\fR
3e7fe0ca 55.TP 5
7131e285
MS
56\fBServerName \fIhostname-or-ip-address\fR[\fI:port\fR]\fB/version=1.1\fR
57Specifies the address and optionally the port to use when connecting to a server running CUPS 1.3.12 and earlier.
3699c637 58.TP 5
ee6226a5 59\fBSSLOptions \fR[\fIAllowDH\fR] [\fIAllowRC4\fR] [\fIAllowSSL3\fR] [\fIDenyTLS1.0\fR]
63aefcd5
MS
60.TP 5
61\fBSSLOptions None\fR
62Sets encryption options (only in /etc/cups/client.conf).
63By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites.
ee6226a5 64The \fIAllowDH\fR option enables cipher suites using plain Diffie-Hellman key negotiation.
63aefcd5
MS
65The \fIAllowRC4\fR option enables the 128-bit RC4 cipher suites, which are required for some older clients that do not implement newer ones.
66The \fIAllowSSL3\fR option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0.
ee6226a5 67The \fIDenyTLS1.0\fR option disables TLS v1.0 support - this sets the minimum protocol version to TLS v1.1.
63aefcd5 68.TP 5
08d56b1f
MS
69\fBTrustOnFirstUse Yes\fR
70.TP 5
71\fBTrustOnFirstUse No\fR
72Specifies whether to trust new TLS certificates by default.
73The default is "Yes".
74.TP 5
7131e285 75\fBUser \fIname\fR
3e7fe0ca 76Specifies the default user name to use for requests.
f51f3773
MS
77.TP 5
78\fBValidateCerts Yes\fR
79.TP 5
80\fBValidateCerts No\fR
81Specifies whether to only allow TLS with certificates whose common name matches the hostname.
82The default is "No".
7131e285 83.SH NOTES
8072030b 84The \fBclient.conf\fR file is deprecated on macOS and will no longer be supported in a future version of CUPS.
08d56b1f
MS
85Configuration settings can instead be viewed or changed using the
86.BR defaults (1)
87command:
88.nf
89defaults write /Library/Preferences/org.cups.PrintingPrefs.plist Encryption Required
90defaults write /Library/Preferences/org.cups.PrintingPrefs.plist TrustOnFirstUse -bool NO
91
92defaults read /Library/Preferences/org.cups.PrintingPrefs.plist Encryption
93.fi
94On Linux and other systems using GNU TLS, the \fI/etc/cups/ssl/site.crl\fR file, if present, provides a list of revoked X.509 certificates and is used when validating certificates.
b423cd4c 95.SH SEE ALSO
7131e285 96.BR cups (1),
08d56b1f 97.BR default (1),
7131e285 98CUPS Online Help (http://localhost:631/help)
b423cd4c 99.SH COPYRIGHT
08d56b1f 100Copyright \[co] 2007-2016 by Apple Inc.