GNU Mailutils Manual (split by node):   Section:   Chapter:FastBack: Programs   Up: configuration   FastForward: Libraries   Contents: Table of ContentsIndex: Function Index

3.2.20 The tls Statement

Syntax

tls {
  # Specify SSL certificate file.
  ssl-certificate-file string;
  # Specify SSL certificate key file.
  ssl-key-file file;
  # Specify trusted CAs file.
  ssl-ca-file file;
  # Set the priorities to use on the ciphers, methods, etc.
  ssl-priorities string;
  # Set timeout for I/O operations during TLS handshake (seconds).
  handshake-timeout n;
}

Description

The ‘tls’ statement configures TLS parameters to be used by servers. It can appear both in the global scope and in server scope. Global tls settings are applied for servers that are declared as supporting TLS encryption, but lack the ‘tls’ substatement.

Configuration: ssl-certificate-file string

Specify SSL certificate file.

Configuration: ssl-key-file file

Specify SSL certificate key file.

Configuration: ssl-ca-file file

Specify the trusted certificate authorities file.

Configuration: ssl-priorities string

Set the priorities to use on the ciphers, key exchange methods, MACs and compression methods.

Configuration: handshake-timeout n

Set the timeout (in seconds) for I/O operations during TLS handshake. Default value is 10 seconds.