Section: Apple Inc. (5)
Return to Main Contents
client.conf - client configuration file for cups (deprecated)
The client.conf file configures the CUPS client and is normally located in the /etc/cups and/or ~/.cups directories.
Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character.
Note: Starting with OS X 10.7, this file is only used by command-line and X11 applications plus the IPP backend.
The ServerName directive is not supported on OS X at all.
The following directives are understood by the client. Consult the online help for detailed descriptions:
- AllowAnyRoot Yes
- AllowAnyRoot No
Specifies whether to allow TLS with certificates that have not been signed by a trusted Certificate Authority.
The default is "Yes".
- AllowExpiredCerts Yes
- AllowExpiredCerts No
Specifies whether to allow TLS with expired certificates.
The default is "Yes".
- Encryption IfRequested
- Encryption Never
- Encryption Required
Specifies the level of encryption that should be used.
- GSSServiceName name
Specifies the Kerberos service name that is used for authentication, typically "host", "http", or "ipp".
CUPS adds the remote hostname ("firstname.lastname@example.org") for you. The default name is "http".
- ServerName hostname-or-ip-address[:port]
- ServerName /domain/socket
Specifies the address and optionally the port to use when connecting to the server.
Note: This directive it not supported on OS X 10.7 or later.
- ServerName hostname-or-ip-address[:port]/version=1.1
Specifies the address and optionally the port to use when connecting to a server running CUPS 1.3.12 and earlier.
- SSLOptions [AllowDH] [AllowRC4] [AllowSSL3] [DenyTLS1.0]
- SSLOptions None
Sets encryption options (only in /etc/cups/client.conf).
By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites.
The AllowDH option enables cipher suites using plain Diffie-Hellman key negotiation.
The AllowRC4 option enables the 128-bit RC4 cipher suites, which are required for some older clients that do not implement newer ones.
The AllowSSL3 option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0.
The DenyTLS1.0 option disables TLS v1.0 support - this sets the minimum protocol version to TLS v1.1.
- User name
Specifies the default user name to use for requests.
- ValidateCerts Yes
- ValidateCerts No
Specifies whether to only allow TLS with certificates whose common name matches the hostname.
The default is "No".
The client.conf file is deprecated and will no longer be supported in a future version of CUPS.
CUPS Online Help (http://localhost:631/help)
Copyright © 2007-2015 by Apple Inc.
- SEE ALSO