Module: kamailio
Branch: 5.7
Commit: 2c082bd135203382855b297de736b22fbedee672
URL:
https://github.com/kamailio/kamailio/commit/2c082bd135203382855b297de736b22…
Author: S-P Chan <shihping.chan(a)gmail.com>
Committer: S-P Chan <shihping.chan(a)gmail.com>
Date: 2024-02-24T23:18:56+08:00
db_mysql: update docs for opt_ssl_ca
Cherry-pick from eafd93f057
---
Modified: src/modules/db_mysql/doc/db_mysql_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/2c082bd135203382855b297de736b22…
Patch:
https://github.com/kamailio/kamailio/commit/2c082bd135203382855b297de736b22…
---
diff --git a/src/modules/db_mysql/doc/db_mysql_admin.xml
b/src/modules/db_mysql/doc/db_mysql_admin.xml
index 51c9b5b728d..dceb8253eb7 100644
--- a/src/modules/db_mysql/doc/db_mysql_admin.xml
+++ b/src/modules/db_mysql/doc/db_mysql_admin.xml
@@ -211,6 +211,30 @@ modparam("db_mysql", "update_affected_found", 1)
...
modparam("db_mysql", "opt_ssl_mode", 1)
...
+</programlisting>
+ </example>
+ </section>
+ <section id="db_mysql.p.opt_ssl_ca">
+ <title><varname>opt_ssl_ca</varname> (string)</title>
+ <para>
+ Configures the CA certs used to verify the MySQL server cert when
+ SSL is enabled.
+ </para>
+ <para>
+ Required when opt_ssl_mode = 4 or 5 and db_mysql is built
+ with libmysqlclient.
+ </para>
+ <para>
+ <emphasis>
+ Default value is NULL (NULL - not configured).
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>opt_ssl_ca</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("db_mysql", "opt_ssl_ca",
"/etc/ssl/certs/mysql-ca.pem")
+...
</programlisting>
</example>
</section>