summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Clark <brentgclarklist@gmail.com>2022-11-04 15:27:38 +0100
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2022-11-04 15:27:38 +0100
commit7d5dcdd4cbee9e980e9c2d2e72e3bf76e6c39a87 (patch)
tree626b2a4a2dc3df589dc5c5353a8f99cc8d00d35b
parent4a73f047f3ee48a7156cd6007da8d2dfc21f85a9 (diff)
downloadexim4-wip/doc/mysql-ssl.tar.gz
doc: add example about MySQL TLS connectionswip/doc/mysql-ssl
-rw-r--r--doc/doc-docbook/spec.xfpt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 865742bc3..c0b2e4572 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -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.
+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.