SSL context options
SSL context options — SSL context option listing
Description
Context options for ssl://
and tls://
transports.
Changelog
Version | Description |
---|---|
7.2.0 |
Added security_level . Requires OpenSSL >= 1.1.0.
|
Notes
Note: Because
ssl://
is the underlying transport for thehttps://
andftps://
wrappers, any context options which apply tossl://
also apply tohttps://
andftps://
.
Note: For SNI (Server Name Indication) to be available, then PHP must be compiled with OpenSSL 0.9.8j or greater. Use the
OPENSSL_TLSEXT_SERVER_NAME
to determine whether SNI is supported.