summaryrefslogtreecommitdiffstats
path: root/scripts/sd-tps-remove.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/sd-tps-remove.sh')
-rwxr-xr-xscripts/sd-tps-remove.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/sd-tps-remove.sh b/scripts/sd-tps-remove.sh
new file mode 100755
index 0000000..0922782
--- /dev/null
+++ b/scripts/sd-tps-remove.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+TPSHOST=`cat tps.host`
+
+ldapmodify -x -D "cn=Directory Manager" -w Secret123 -c << EOF
+dn: cn=$TPSHOST:8443,cn=TPSList,ou=Security Domain,dc=ca,dc=pki,dc=example,dc=com
+changetype: delete
+EOF