Module: kamailio
Branch: 5.7
Commit: 2c082bd135203382855b297de736b22fbedee672
URL: 
https://github.com/kamailio/kamailio/commit/2c082bd135203382855b297de736b22fbedee672

Author: S-P Chan <shihping.c...@gmail.com>
Committer: S-P Chan <shihping.c...@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/2c082bd135203382855b297de736b22fbedee672.diff
Patch: 
https://github.com/kamailio/kamailio/commit/2c082bd135203382855b297de736b22fbedee672.patch

---

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>

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to