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