]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4005] Added doc and ChangeLog entry master
authorFrancis Dupont <fdupont@isc.org>
Thu, 10 Jul 2025 15:04:19 +0000 (17:04 +0200)
committerRazvan Becheriu <razvan@isc.org>
Thu, 10 Jul 2025 16:13:31 +0000 (19:13 +0300)
changelog_unreleased/3927-add-tls-settings-to-pqconnectdb [new file with mode: 0644]
doc/devel/unit-tests.dox

diff --git a/changelog_unreleased/3927-add-tls-settings-to-pqconnectdb b/changelog_unreleased/3927-add-tls-settings-to-pqconnectdb
new file mode 100644 (file)
index 0000000..badd5f0
--- /dev/null
@@ -0,0 +1,5 @@
+[func]         razvan
+       Added SSL/TLS support for PostgreSQL database connection in
+       the Kea configuration. Available parameters are:
+       "trust-anchor", "cert-file", "key-file" and "ssl-mode".
+       (Gitlab #3927)
index ee86a28b7235e266b28936c1b2c5556ec1de4948..c02a6c32d6d2cc42cc946212c67a5b2583d983fe 100644 (file)
@@ -65,6 +65,11 @@ The following environment variable can affect the unit tests:
   the environment of the unit test process is updated so usually this
   variable is manually set only in order to enforce a particular status.
 
+- KEA_PGSQL_HAVE_SSL - Specifies the SSL/TLS support status of PostgreSQL.
+  When not set the corresponding PostgreSQL global variable is read and
+  the environment of the unit test process is updated so usually this
+  variable is manually set only in order to enforce a particular status.
+
 - KEA_PIDFILE_DIR - Specifies the directory which should be used for PID files
   as used by dhcp::Daemon or its derivatives. If not specified, the
   default is <i>prefix</i>/var/run/kea, where <i>prefix</i> defaults to
@@ -228,6 +233,13 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'have_ssl';
 The value of this MySQL global variable is reflected by the
 KEA_MYSQL_HAVE_SSL environment variable.
 
+Recent versions of Community MySQL does not support this global variable.
+SSL/TLS support detection was extended to use status using:
+
+@verbatim
+mysql> SHOW STATUS LIKE 'ssl_cipher';
+@endverbatim
+
 The keatest_secure user requires X509 so a client certificate. Of course
 in production a stricter requirement should be used, in particular when
 a client certificate should be bound to a particular user.