summaryrefslogtreecommitdiffstats
path: root/scripts/ca-remove.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ca-remove.sh')
-rwxr-xr-xscripts/ca-remove.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/ca-remove.sh b/scripts/ca-remove.sh
index 8394720..6c90c78 100755
--- a/scripts/ca-remove.sh
+++ b/scripts/ca-remove.sh
@@ -1,5 +1,6 @@
#!/bin/sh -x
+SRC_DIR=`cd ../.. ; pwd`
INSTANCE_NAME=pki-master
pkidestroy -s CA -i $INSTANCE_NAME
@@ -9,3 +10,4 @@ rm -rf /etc/sysconfig/$INSTANCE_NAME
rm -rf /etc/sysconfig/pki/tomcat/$INSTANCE_NAME
rm -rf /var/lib/pki/$INSTANCE_NAME
rm -rf /var/log/pki/$INSTANCE_NAME
+rm -rf $SRC_DIR/certs/$INSTANCE_NAME