Module: kamailio
Branch: master
Commit: eafd93f0576504ea03fe6b5e3898506072218cef
URL: 
https://github.com/kamailio/kamailio/commit/eafd93f0576504ea03fe6b5e3898506072218cef

Author: S-P Chan <shihping.c...@gmail.com>
Committer: S-P Chan <shihping.c...@gmail.com>
Date: 2024-02-14T15:09:24+08:00

db_mysql: update docs for opt_ssl_ca

---

Modified: src/modules/db_mysql/doc/db_mysql_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/eafd93f0576504ea03fe6b5e3898506072218cef.diff
Patch: 
https://github.com/kamailio/kamailio/commit/eafd93f0576504ea03fe6b5e3898506072218cef.patch

---

diff --git a/src/modules/db_mysql/doc/db_mysql_admin.xml 
b/src/modules/db_mysql/doc/db_mysql_admin.xml
index f1ff53df0ed..7297f2d1b15 100644
--- a/src/modules/db_mysql/doc/db_mysql_admin.xml
+++ b/src/modules/db_mysql/doc/db_mysql_admin.xml
@@ -215,6 +215,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> (integer)</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