From 66a4bad142dfb9101fc3df1dc6e477859061f3f5 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 11 Sep 2011 10:10:06 +0200 Subject: [PATCH] [scripts] remove openldap keys from ISO --- scripts/inner_chroot_script.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/inner_chroot_script.sh b/scripts/inner_chroot_script.sh index 5234745..818b595 100755 --- a/scripts/inner_chroot_script.sh +++ b/scripts/inner_chroot_script.sh @@ -27,6 +27,10 @@ echo LC_ALL=\"en_US.UTF-8\" >> /etc/env.d/02locale # remove SSH keys rm -rf /etc/ssh/*_key* +# remove LDAP keys +rm -f /etc/openldap/ssl/ldap.pem /etc/openldap/ssl/ldap.key \ + /etc/openldap/ssl/ldap.csr /etc/openldap/ssl/ldap.crt + # better remove postfix package manager generated # SSL certificates rm -rf /etc/ssl/postfix/server.*