The system variables listed on this page relate to encrypting data during transfer between servers and clients using the Transport Layer Security (TLS) protocol. Often, the term Secure Sockets Layer (SSL) is used interchangeably with TLS, although strictly speaking the SSL protocol is the predecessor of TLS and is no longer considered secure.
For compatibility reasons, the TLS system variables in MariaDB still use the ssl_
prefix, but MariaDB only supports its more secure successors. For more information on SSL/TLS in MariaDB, see Secure Connections Overview.
have_openssl
YES
, then the server is linked with OpenSSL. have_ssl
system variable. have_ssl
YES
, then the server supports TLS, and TLS is enabled. DISABLED
, then the server supports TLS, but TLS is not enabled. NO
, then the server was not compiled with TLS support, so TLS cannot be enabled. have_openssl
system variable to determine whether the server is using OpenSSL or MariaDB's bundled TLS library. See TLS and Cryptography Libraries Used by MariaDB for more information about which libraries are used on which platforms. ssl_ca
ssl
option. --ssl-ca=file_name
file name
ssl_capath
openssl rehash
command. This system variable implies the ssl
option. --ssl-capath=directory_name
directory name
ssl_cert
ssl
option. --ssl-cert=name
file name
ssl_cipher
ssl
option. --ssl-cipher=name
string
ssl_crl
--ssl-crl=name
file name
ssl_crlpath
openssl rehash
command. --ssl-crlpath=name
directory name
ssl_key
ssl
option. --ssl-key=name
string
tls_version
--tls-version=name
enumerated
TLSv1.1
,TLSv1.2
,TLSv1.3
TLSv1.0
,TLSv1.1
,TLSv1.2
,TLSv1.3
version_ssl_library
string
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/ssltls-system-variables/