From cc24216c89b276932cec08f8f462962b41abd24f Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Fri, 27 Jul 2012 11:08:04 -0500 Subject: Fixed CA and cert scripts. --- scripts/ca-remove.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'scripts/ca-remove.sh') diff --git a/scripts/ca-remove.sh b/scripts/ca-remove.sh index 7a42c3d..8394720 100755 --- a/scripts/ca-remove.sh +++ b/scripts/ca-remove.sh @@ -1,7 +1,11 @@ #!/bin/sh -x -. ./ca-include.sh +INSTANCE_NAME=pki-master -pkiremove -pki_instance_root=$INSTANCE_ROOT \ - -pki_instance_name=$CA_INSTANCE_NAME \ - -force +pkidestroy -s CA -i $INSTANCE_NAME + +rm -rf /etc/pki/$INSTANCE_NAME +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 -- cgit