From: Brent Clark Date: Fri, 4 Nov 2022 14:27:38 +0000 (+0100) Subject: doc: add example about MySQL TLS connections X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/7d5dcdd4cbee9e980e9c2d2e72e3bf76e6c39a87 doc: add example about MySQL TLS connections --- 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.