summaryrefslogtreecommitdiffstats
path: root/scripts/kra-sub-remove.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kra-sub-remove.sh')
-rwxr-xr-xscripts/kra-sub-remove.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/kra-sub-remove.sh b/scripts/kra-sub-remove.sh
new file mode 100755
index 0000000..cfb731a
--- /dev/null
+++ b/scripts/kra-sub-remove.sh
@@ -0,0 +1,9 @@
+#!/bin/sh -x
+
+SRC_DIR=`cd ../.. ; pwd`
+INSTANCE_NAME=pki-subkra
+
+#pkidestroy -v -s KRA -i $INSTANCE_NAME
+
+echo -n Secret123 > password.txt
+pkidestroy -v -s KRA -i $INSTANCE_NAME -u caadmin -W password.txt