From 7d5dcdd4cbee9e980e9c2d2e72e3bf76e6c39a87 Mon Sep 17 00:00:00 2001 From: Brent Clark Date: Fri, 4 Nov 2022 15:27:38 +0100 Subject: doc: add example about MySQL TLS connections --- doc/doc-docbook/spec.xfpt | 10 ++++++++++ 1 file changed, 10 insertions(+) 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. -- cgit v1.2.1