diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-08-14 13:01:52 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-08-14 13:01:52 -0500 |
commit | 974bef147801d25026bafd3ebaf44012d4867294 (patch) | |
tree | b3a2c33c907dfb7b877fc26f8a452e11d587e39d /dogtag-9/firefox-certs-remove.sh | |
parent | d3740e5c85aa27bbdcb96ef58a5de20b87eb3709 (diff) | |
download | pki-dev-974bef147801d25026bafd3ebaf44012d4867294.tar.gz pki-dev-974bef147801d25026bafd3ebaf44012d4867294.tar.xz pki-dev-974bef147801d25026bafd3ebaf44012d4867294.zip |
Added other scripts for Dogtag 9.
Diffstat (limited to 'dogtag-9/firefox-certs-remove.sh')
-rwxr-xr-x | dogtag-9/firefox-certs-remove.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dogtag-9/firefox-certs-remove.sh b/dogtag-9/firefox-certs-remove.sh new file mode 100755 index 0000000..97439e1 --- /dev/null +++ b/dogtag-9/firefox-certs-remove.sh @@ -0,0 +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 "$CA_ADMIN_NAME" -d . +certutil -D -n "kraadmin" -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 . |