1client.conf(5) Apple Inc. client.conf(5)
2
3
4
6 client.conf - client configuration file for cups
7
9 The client.conf file configures the CUPS client and is normally located
10 in the /etc/cups and/or ~/.cups directories. Each line in the file can
11 be a configuration directive, a blank line, or a comment. Comment lines
12 start with the # character.
13
14 Note: Starting with macOS 10.7, this file is only used by command-line
15 and X11 applications plus the IPP backend. The ServerName directive is
16 not supported on macOS at all. Starting with macOS 10.12, all applica‐
17 tions can access these settings in the /Library/Prefer‐
18 ences/org.cups.PrintingPrefs.plist file instead. See the NOTES section
19 below for more information.
20
21 DIRECTIVES
22 The following directives are understood by the client. Consult the
23 online help for detailed descriptions:
24
25 AllowAnyRoot Yes
26
27 AllowAnyRoot No
28 Specifies whether to allow TLS with certificates that have not
29 been signed by a trusted Certificate Authority. The default is
30 "Yes".
31
32 AllowExpiredCerts Yes
33
34 AllowExpiredCerts No
35 Specifies whether to allow TLS with expired certificates. The
36 default is "No".
37
38 Encryption IfRequested
39
40 Encryption Never
41
42 Encryption Required
43 Specifies the level of encryption that should be used.
44
45 GSSServiceName name
46 Specifies the Kerberos service name that is used for authentica‐
47 tion, typically "host", "http", or "ipp". CUPS adds the remote
48 hostname ("name@server.example.com") for you. The default name is
49 "http".
50
51 ServerName hostname-or-ip-address[:port]
52
53 ServerName /domain/socket
54 Specifies the address and optionally the port to use when connect‐
55 ing to the server. Note: This directive is not supported on macOS
56 10.7 or later.
57
58 ServerName hostname-or-ip-address[:port]/version=1.1
59 Specifies the address and optionally the port to use when connect‐
60 ing to a server running CUPS 1.3.12 and earlier.
61
62 SSLOptions [AllowDH] [AllowRC4] [AllowSSL3] [DenyCBC] [DenyTLS1.0]
63
64 SSLOptions None
65 Sets encryption options (only in /etc/cups/client.conf). By
66 default, CUPS only supports encryption using TLS v1.0 or higher
67 using known secure cipher suites. Security is reduced when Allow
68 options are used. Security is enhanced when Deny options are
69 used. The AllowDH option enables cipher suites using plain
70 Diffie-Hellman key negotiation (not supported on systems using GNU
71 TLS). The AllowRC4 option enables the 128-bit RC4 cipher suites,
72 which are required for some older clients. The AllowSSL3 option
73 enables SSL v3.0, which is required for some older clients that do
74 not support TLS v1.0. The DenyCBC option disables all CBC cipher
75 suites. The DenyTLS1.0 option disables TLS v1.0 support - this
76 sets the minimum protocol version to TLS v1.1.
77
78 TrustOnFirstUse Yes
79
80 TrustOnFirstUse No
81 Specifies whether to trust new TLS certificates by default. The
82 default is "Yes".
83
84 User name
85 Specifies the default user name to use for requests.
86
87 ValidateCerts Yes
88
89 ValidateCerts No
90 Specifies whether to only allow TLS with certificates whose common
91 name matches the hostname. The default is "No".
92
94 The client.conf file is deprecated on macOS and will no longer be sup‐
95 ported in a future version of CUPS. Configuration settings can instead
96 be viewed or changed using the defaults(1) command:
97 defaults write /Library/Preferences/org.cups.PrintingPrefs.plist Encryption Required
98 defaults write /Library/Preferences/org.cups.PrintingPrefs.plist TrustOnFirstUse -bool NO
99
100 defaults read /Library/Preferences/org.cups.PrintingPrefs.plist Encryption
101 On Linux and other systems using GNU TLS, the /etc/cups/ssl/site.crl
102 file, if present, provides a list of revoked X.509 certificates and is
103 used when validating certificates.
104
106 cups(1), default(1), CUPS Online Help (http://localhost:631/help)
107
109 Copyright © 2007-2017 by Apple Inc.
110
111
112
11319 October 2017 CUPS client.conf(5)