doc: add example about MySQL TLS connections wip/doc/mysql-ssl github/wip/doc/mysql-ssl
authorBrent Clark <brentgclarklist@gmail.com>
Fri, 4 Nov 2022 14:27:38 +0000 (15:27 +0100)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Fri, 4 Nov 2022 14:27:38 +0000 (15:27 +0100)
doc/doc-docbook/spec.xfpt

index 865742bc3ad071bb788507f7c70d16e04bdb33c5..c0b2e457232bdb95ceb9df42cce31dfb04ae1b00 100644 (file)
@@ -8107,6 +8107,16 @@ or delete command), the result of the lookup is the number of rows affected.
 anything (for example, setting a field to the value it already has), the result
 is zero because no rows are affected.
 
 anything (for example, setting a field to the value it already has), the result
 is zero because no rows are affected.
 
+For TLS secured SQL connections this MySQL configuration snippet might serve as an example:
+.code
+# /etc/mysql/conf.d/my.cnf
+[exim]
+ssl_cert=/etc/ssl/server-cert.pem
+ssl_key=/etc/ssl/server-key.pem
+ssl_ca=/etc/ssl/ca-cert.pem
+.endd
+Then configure the database use with "REQUIRE SSL".
+
 
 .subsection "Special PostgreSQL features" SECID74
 PostgreSQL lookups can also use Unix domain socket connections to the database.
 
 .subsection "Special PostgreSQL features" SECID74
 PostgreSQL lookups can also use Unix domain socket connections to the database.