Skip to content

Commit 258f18d

Browse files
committed
document missing SSL context options
1 parent 943101f commit 258f18d

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

language/context/ssl.xml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,43 @@
204204
</simpara>
205205
</listitem>
206206
</varlistentry>
207+
<varlistentry xml:id="context.ssl.sni-server-certs">
208+
<term>
209+
<parameter>SNI_server_certs</parameter>
210+
<type>array</type>
211+
</term>
212+
<listitem>
213+
<simpara>
214+
An array of server names and their corresponding certificates to be used
215+
for SNI. The keys are the server names and the values are the paths to
216+
the certificate files on the local filesystem. The certificate files must
217+
be <acronym>PEM</acronym> encoded and contain both the certificate and private key.
218+
</simpara>
219+
</listitem>
220+
</varlistentry>
221+
<varlistentry xml:id="context.alpn-protocols">
222+
<term>
223+
<parameter>alpn_protocols</parameter>
224+
<type>array</type>
225+
</term>
226+
<listitem>
227+
<simpara>
228+
An array of application layer protocol names to be used for ALPN (Application-Layer Protocol Negotiation).
229+
The values are the protocol names as strings (e.g. "http/1.1", "h2").
230+
</simpara>
231+
</listitem>
232+
</varlistentry>
233+
<varlistentry xml:id="context.ssl.no-ticket">
234+
<term>
235+
<parameter>no_ticket</parameter>
236+
<type>bool</type>
237+
</term>
238+
<listitem>
239+
<simpara>
240+
If set, disable TLS session tickets. This can help to enhance security by providing Perfect Forward Secrecy (PFS).
241+
</simpara>
242+
</listitem>
243+
</varlistentry>
207244
<varlistentry xml:id="context.ssl.disable-compression">
208245
<term>
209246
<parameter>disable_compression</parameter>
@@ -252,6 +289,38 @@
252289
</simpara>
253290
</listitem>
254291
</varlistentry>
292+
<varlistentry xml:id="context.min-proto-version">
293+
<term>
294+
<parameter>min_proto_version</parameter>
295+
<type>int</type>
296+
</term>
297+
<listitem>
298+
<simpara>
299+
Sets the minimum protocol version allowed. If not specified the library default
300+
minimum protocol version is used. The protocol versions are described in
301+
<link xlink:href="&url.openssl.protocol-versions;">SSL_CTX_set_min_proto_version(3)</link>.
302+
</simpara>
303+
<simpara>
304+
Available as of PHP 8.0.0 and OpenSSL 1.1.1.
305+
</simpara>
306+
</listitem>
307+
</varlistentry>
308+
<varlistentry xml:id="context.max-proto-version">
309+
<term>
310+
<parameter>max_proto_version</parameter>
311+
<type>int</type>
312+
</term>
313+
<listitem>
314+
<simpara>
315+
Sets the maximum protocol version allowed. If not specified the library default
316+
maximum protocol version is used. The protocol versions are described in
317+
<link xlink:href="&url.openssl.protocol-versions;">SSL_CTX_set_min_proto_version(3)</link>.
318+
</simpara>
319+
<simpara>
320+
Available as of PHP 8.0.0 and OpenSSL 1.1.1.
321+
</simpara>
322+
</listitem>
323+
</varlistentry>
255324
</variablelist>
256325
</refsect1><!-- }}} -->
257326

0 commit comments

Comments
 (0)