The ssl application is an implementation of the SSL/TLS/DTLS protocol in Erlang.
The SSL application uses the
The application environment configuration parameters in this section
are defined for the SSL application. For more information
about configuration parameters, see the
The environment parameters can be set on the command line, for example:
Protocol supported by started clients and
servers. If this option is not set, it defaults to all
TLS protocols currently supported by the SSL application.
This option can be overridden by the version option
to
Protocol supported by started clients and
servers. If this option is not set, it defaults to all
DTLS protocols currently supported by the SSL application.
This option can be overridden by the version option
to
Maximum lifetime of the session data in seconds. Defaults to 24 hours which is the maximum
recommended lifetime by
Name of the session cache callback module that implements
the
List of extra user-defined arguments to the
Limits the growth of the clients session cache, that is how many sessions towards servers that are cached to be used by new client connections. If the maximum number of sessions is reached, the current cache entries will be invalidated regardless of their remaining lifetime. Defaults to 1000. Recommended ssl-8.2.1 or later for this option to work as intended.
Limits the growth of the servers session cache, that is how many client sessions are cached by the server. If the maximum number of sessions is reached, the current cache entries will be invalidated regardless of their remaining lifetime. Defaults to 1000. Recommended ssl-8.2.1 or later for this option to work as intended.
Number of milliseconds between PEM cache validations. Defaults to 2 minutes.
Introduced in ssl-8.0.2. Disables the PEM-cache. Can be used as a workaround for the PEM-cache bottleneck before ssl-8.1.1. Defaults to false.
Number of milliseconds between sending of a fatal alert and closing the connection. Waiting a little while improves the peers chances to properly receiving the alert so it may shutdown gracefully. Defaults to 5000 milliseconds.
For TLS connections this value is used to handle the internal socket. As the implementation was changed from an active once to an active N behavior (N = 100), for performance reasons, this option exist for possible tweaking or restoring of the old behavior (internal_active_n = 1) in unforeseen scenarios. The option will not affect erlang distribution over TLS that will always run in active N mode. Added in ssl-9.1 (OTP-21.2).
The SSL application uses the default