summaryrefslogtreecommitdiffstats
path: root/scripts/certs-remove.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/certs-remove.sh')
-rwxr-xr-xscripts/certs-remove.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/certs-remove.sh b/scripts/certs-remove.sh
new file mode 100755
index 0000000..90d847d
--- /dev/null
+++ b/scripts/certs-remove.sh
@@ -0,0 +1,13 @@
+#!/bin/sh -x
+
+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 "kraadmin" -d .
+certutil -D -n "Certificate Authority - EXAMPLE-COM" -d .
+certutil -D -n "$HOSTNAME" -d .
+certutil -D -n "$HOSTNAME #2" -d .
+certutil -D -n "$HOSTNAME #3" -d .