summaryrefslogtreecommitdiffstats
path: root/scripts/ds-cert-remove.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ds-cert-remove.sh')
-rwxr-xr-xscripts/ds-cert-remove.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/ds-cert-remove.sh b/scripts/ds-cert-remove.sh
new file mode 100755
index 0000000..c319920
--- /dev/null
+++ b/scripts/ds-cert-remove.sh
@@ -0,0 +1,6 @@
+#!/bin/sh -x
+
+INSTANCE=pki-tomcat
+NSSDB_DIR=/etc/dirsrv/slapd-$INSTANCE
+
+certutil -F -d $NSSDB_DIR -f $NSSDB_DIR/password.txt -n "DS Certificate"