From 00abd47de4d3238295cbe5dc30210b913c0f07a1 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 19 May 2011 22:30:53 -0400 Subject: Enable 389-ds SSL host checking by defauilt Enforce that the remote hostname matches the remote SSL server certificate when 389-ds operates as an SSL client. Also add an update file to turn this off for existing installations. This also changes the way the ldapupdater modlist is generated to be more like the framework. Single-value attributes are done as replacements and there is a list of force-replacement attributes. ticket 1069 --- install/updates/10-config.update | 5 +++++ install/updates/Makefile.am | 1 + 2 files changed, 6 insertions(+) create mode 100644 install/updates/10-config.update (limited to 'install') diff --git a/install/updates/10-config.update b/install/updates/10-config.update new file mode 100644 index 000000000..ed7033950 --- /dev/null +++ b/install/updates/10-config.update @@ -0,0 +1,5 @@ +# Enforce matching SSL certificate host names when 389-ds acts as an SSL +# client. A restart is necessary for this to take effect, we do one when +# upgrading. +dn: cn=config +only:nsslapd-ssl-check-hostname: on diff --git a/install/updates/Makefile.am b/install/updates/Makefile.am index 5765bf17d..c9d1584b8 100644 --- a/install/updates/Makefile.am +++ b/install/updates/Makefile.am @@ -5,6 +5,7 @@ app_DATA = \ 10-60basev2.update \ 10-RFC2307bis.update \ 10-RFC4876.update \ + 10-config.update \ 20-aci.update \ 20-dna.update \ 20-indices.update \ -- cgit