@@ -65,6 +65,53 @@ The environment parameters can be set on the command line, for example:
6565 might be configurable, by the SSL application. This option can be overridden
6666 by the version option to ` ssl:connect/2,3 ` and ` ssl:listen/2 ` .
6767
68+ - ** ` max_crl_cache = pos_integer() <optional> ` ** - Sets the
69+ maximum number of entries allowed in the default crl store. Defaults to 150. Size limit
70+ is enforced by emptying cache when limit is reached.
71+
72+ - ** ` ssl_pem_cache_clean = pos_integer() <optional> ` ** - Number of milliseconds
73+ between PEM cache validations. Defaults to 2 minutes.
74+
75+ Note: The cache can be reloaded by calling ` ssl:clear_pem_cache/0 ` .
76+
77+ - ** ` bypass_pem_cache = boolean() <optional> ` ** - Introduced in ssl-8.0.2.
78+ Disables the PEM-cache. Can be used as a workaround for the PEM-cache
79+ bottleneck before ssl-8.1.1. Defaults to false.
80+
81+ - ** ` internal_active_n = integer() <optional> ` ** - For TLS connections this
82+ value is used to handle the internal socket. As the implementation was changed
83+ from an active once to an active N behavior (N = 100), for performance
84+ reasons, this option exist for possible tweaking or restoring of the old
85+ behavior (internal_active_n = 1) in unforeseen scenarios. The option will not
86+ affect erlang distribution over TLS that will always run in active N mode.
87+ Added in ssl-9.1 (OTP-21.2).
88+
89+ - ** ` server_session_tickets_amount = integer() <optional> ` ** - Number of session
90+ tickets sent by the server. It must be greater than 0. Defaults to 3.
91+
92+ - ** ` server_session_ticket_lifetime = integer() <optional> ` ** - Lifetime of
93+ session tickets sent by the server. Servers must not use any value greater
94+ than 604800 seconds (7 days). Expired tickets are automatically removed.
95+ Defaults to 7200 seconds (2 hours).
96+
97+ - ** ` server_session_ticket_store_size = integer() <optional> ` ** - Sets the
98+ maximum size of the server session ticket store (stateful tickets). Defaults
99+ to 1000. Size limit is enforced by dropping old tickets.
100+
101+ - ** ` server_session_ticket_max_early_data = integer() <optional> ` ** - Sets the
102+ maximum size of the early data that the server accepts and also configures its
103+ NewSessionTicket messages to include this same size limit in their
104+ early_data_indication extension. Defaults to 16384. Size limit is enforced by
105+ both client and server.
106+
107+ - ** ` client_session_ticket_lifetime = integer() <optional> ` ** - Lifetime of
108+ session tickets in the client ticket store. Expired tickets are automatically
109+ removed. Defaults to 7200 seconds (2 hours).
110+
111+ - ** ` client_session_ticket_store_size = integer() <optional> ` ** - Sets the
112+ maximum size of the client session ticket store. Defaults to 1000. Size limit
113+ is enforced by dropping old tickets.
114+
68115- ** ` session_lifetime = integer() <optional> ` ** - Maximum lifetime of the
69116 session data in seconds. Defaults to 24 hours which is the maximum recommended
70117 lifetime by [ RFC 5246] ( http://www.ietf.org/rfc/5246rfc.txt ) . However sessions
@@ -108,54 +155,11 @@ The environment parameters can be set on the command line, for example:
108155 entries will be invalidated regardless of their remaining lifetime. Defaults
109156 to 1000. Recommended ssl-8.2.1 or later for this option to work as intended.
110157
111- - ** ` ssl_pem_cache_clean = integer() <optional> ` ** - Number of milliseconds
112- between PEM cache validations. Defaults to 2 minutes.
113-
114- Note: The cache can be reloaded by calling ` ssl:clear_pem_cache/0 ` .
115-
116- - ** ` bypass_pem_cache = boolean() <optional> ` ** - Introduced in ssl-8.0.2.
117- Disables the PEM-cache. Can be used as a workaround for the PEM-cache
118- bottleneck before ssl-8.1.1. Defaults to false.
119-
120- - ** ` alert_timeout = integer() <optional> ` ** - Number of milliseconds between
158+ - ** ` alert_timeout = pos_integer() <optional> ` ** - Number of milliseconds between
121159 sending of a fatal alert and closing the connection. Waiting a little while
122160 improves the peers chances to properly receiving the alert so it may shutdown
123161 gracefully. Defaults to 5000 milliseconds.
124162
125- - ** ` internal_active_n = integer() <optional> ` ** - For TLS connections this
126- value is used to handle the internal socket. As the implementation was changed
127- from an active once to an active N behavior (N = 100), for performance
128- reasons, this option exist for possible tweaking or restoring of the old
129- behavior (internal_active_n = 1) in unforeseen scenarios. The option will not
130- affect erlang distribution over TLS that will always run in active N mode.
131- Added in ssl-9.1 (OTP-21.2).
132-
133- - ** ` server_session_tickets_amount = integer() <optional> ` ** - Number of session
134- tickets sent by the server. It must be greater than 0. Defaults to 3.
135-
136- - ** ` server_session_ticket_lifetime = integer() <optional> ` ** - Lifetime of
137- session tickets sent by the server. Servers must not use any value greater
138- than 604800 seconds (7 days). Expired tickets are automatically removed.
139- Defaults to 7200 seconds (2 hours).
140-
141- - ** ` server_session_ticket_store_size = integer() <optional> ` ** - Sets the
142- maximum size of the server session ticket store (stateful tickets). Defaults
143- to 1000. Size limit is enforced by dropping old tickets.
144-
145- - ** ` server_session_ticket_max_early_data = integer() <optional> ` ** - Sets the
146- maximum size of the early data that the server accepts and also configures its
147- NewSessionTicket messages to include this same size limit in their
148- early_data_indication extension. Defaults to 16384. Size limit is enforced by
149- both client and server.
150-
151- - ** ` client_session_ticket_lifetime = integer() <optional> ` ** - Lifetime of
152- session tickets in the client ticket store. Expired tickets are automatically
153- removed. Defaults to 7200 seconds (2 hours).
154-
155- - ** ` client_session_ticket_store_size = integer() <optional> ` ** - Sets the
156- maximum size of the client session ticket store. Defaults to 1000. Size limit
157- is enforced by dropping old tickets.
158-
159163## Error Logger and Event Handlers
160164
161165The SSL application uses [ OTP logger] ( `m:logger` ) . TLS/DTLS alerts are logged on
0 commit comments