summaryrefslogtreecommitdiffstats
path: root/scripts/certs-remove.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/certs-remove.sh')
-rwxr-xr-xscripts/certs-remove.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/certs-remove.sh b/scripts/certs-remove.sh
index 90d847d..97439e1 100755
--- a/scripts/certs-remove.sh
+++ b/scripts/certs-remove.sh
@@ -1,13 +1,15 @@
#!/bin/sh -x
+. ./ca-include.sh
+
FIREFOX_DIR=~/.mozilla/firefox
PROFILE=`grep Path= $FIREFOX_DIR/profiles.ini | awk -F= '{print $2}'`
cd $FIREFOX_DIR/$PROFILE
-certutil -D -n "caadmin" -d .
+certutil -D -n "$CA_ADMIN_NAME" -d .
certutil -D -n "kraadmin" -d .
-certutil -D -n "Certificate Authority - EXAMPLE-COM" -d .
+certutil -D -n "$CA_SUBSYSTEM_NAME - $REALM" -d .
certutil -D -n "$HOSTNAME" -d .
certutil -D -n "$HOSTNAME #2" -d .
certutil -D -n "$HOSTNAME #3" -d .