From f012c525264ed05fec2acb4b3924d4b9a1cd3ab9 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Sun, 14 Jun 2020 11:31:59 +0200 Subject: [PATCH] db_mysql: docs for opt_ssl_mode parameter --- src/modules/db_mysql/doc/db_mysql_admin.xml | 30 +++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/modules/db_mysql/doc/db_mysql_admin.xml b/src/modules/db_mysql/doc/db_mysql_admin.xml index 26e32d8d363..68deb56cabd 100644 --- a/src/modules/db_mysql/doc/db_mysql_admin.xml +++ b/src/modules/db_mysql/doc/db_mysql_admin.xml @@ -182,6 +182,36 @@ modparam("db_mysql", "update_affected_found", 1) +
+ <varname>opt_ssl_mode</varname> (integer) + + Control how the connection to MySQL server is done in regards to SSL/TLS. + If set to 1, SSL/TLS mode is disabled. + + + The 'include/mysql.h' starting with MySQL 5.7.11 defines the values for + this option as enum: 'mysql_ssl_mode { SSL_MODE_DISABLED=1, SSL_MODE_PREFERRED, + SSL_MODE_REQUIRED, SSL_MODE_VERIFY_CA, SSL_MODE_VERIFY_IDENTITY}'. + + + Note: if the value of this parameter is 1, it enforces SSL_MODE_DISABLED, + any other value is passed to the mysql_options(), not checking if it is + defined. + + + + Default value is 0 (0 - off). + + + + Set <varname>opt_ssl_mode</varname> parameter + +... +modparam("db_mysql", "opt_ssl_mode", 1) +... + + +
Functions