1client.conf(5)                    Apple Inc.                    client.conf(5)
2
3
4

NAME

6       client.conf - client configuration file for cups
7

DESCRIPTION

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       [MaxTLS1.0] [MaxTLS1.1] [MaxTLS1.2] [MaxTLS1.3] [MinTLS1.0] [MinTLS1.1]
64       [MinTLS1.2] [MinTLS1.3]
65
66       SSLOptions None
67            Sets  encryption  options  (only  in  /etc/cups/client.conf).   By
68            default, CUPS only supports encryption using TLS  v1.0  or  higher
69            using  known secure cipher suites.  Security is reduced when Allow
70            options are used.  Security is  enhanced  when  Deny  options  are
71            used.   The  AllowDH  option  enables  cipher  suites  using plain
72            Diffie-Hellman key negotiation (not supported on systems using GNU
73            TLS).   The AllowRC4 option enables the 128-bit RC4 cipher suites,
74            which are required for some older clients.  The  AllowSSL3  option
75            enables SSL v3.0, which is required for some older clients that do
76            not support TLS v1.0.  The DenyCBC option disables all CBC  cipher
77            suites.   The  DenyTLS1.0  option disables TLS v1.0 support - this
78            sets the minimum protocol version to TLS v1.1.  The inTLS  options
79            set the minimum TLS version to support.  The axTLS options set the
80            maximum TLS version to support.  Not all operating systems support
81            TLS 1.3 at this time.
82
83       TrustOnFirstUse Yes
84
85       TrustOnFirstUse No
86            Specifies  whether  to trust new TLS certificates by default.  The
87            default is "Yes".
88
89       User name
90            Specifies the default user name to use for requests.
91
92       ValidateCerts Yes
93
94       ValidateCerts No
95            Specifies whether to only allow TLS with certificates whose common
96            name matches the hostname.  The default is "No".
97

NOTES

99       The  client.conf file is deprecated on macOS and will no longer be sup‐
100       ported in a future version of CUPS.  Configuration settings can instead
101       be viewed or changed using the defaults(1) command:
102       defaults write /Library/Preferences/org.cups.PrintingPrefs.plist Encryption Required
103       defaults write /Library/Preferences/org.cups.PrintingPrefs.plist TrustOnFirstUse -bool NO
104
105       defaults read /Library/Preferences/org.cups.PrintingPrefs.plist Encryption
106       On  Linux  and  other systems using GNU TLS, the /etc/cups/ssl/site.crl
107       file, if present, provides a list of revoked X.509 certificates and  is
108       used when validating certificates.
109

SEE ALSO

111       cups(1), default(1), CUPS Online Help (http://localhost:631/help)
112
114       Copyright © 2007-2017 by Apple Inc.
115
116
117
1183 November 2017                      CUPS                       client.conf(5)
Impressum