summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/firefox-certs-import.sh3
-rwxr-xr-xscripts/firefox-certs-list.sh3
-rwxr-xr-xscripts/firefox-certs-remove.sh4
3 files changed, 7 insertions, 3 deletions
diff --git a/scripts/firefox-certs-import.sh b/scripts/firefox-certs-import.sh
index 33b83ec..69031d3 100755
--- a/scripts/firefox-certs-import.sh
+++ b/scripts/firefox-certs-import.sh
@@ -13,7 +13,8 @@ echo HOME=$home
SRC_DIR=`cd ../.. ; pwd`
FIREFOX_DIR=$home/.mozilla/firefox
-PROFILE=`grep Path= $FIREFOX_DIR/profiles.ini | awk -F= '{print $2}'`
+#PROFILE=`grep Path= $FIREFOX_DIR/profiles.ini | awk -F= '{print $2}'`
+PROFILE=$HOSTNAME
CA_INSTANCE_NAME=pki-tomcat
KRA_INSTANCE_NAME=pki-tomcat
diff --git a/scripts/firefox-certs-list.sh b/scripts/firefox-certs-list.sh
index 4691a0c..7c6aeab 100755
--- a/scripts/firefox-certs-list.sh
+++ b/scripts/firefox-certs-list.sh
@@ -9,6 +9,7 @@ else
fi
FIREFOX_DIR=$home/.mozilla/firefox
-PROFILE=`grep Path= $FIREFOX_DIR/profiles.ini | awk -F= '{print $2}'`
+#PROFILE=`grep Path= $FIREFOX_DIR/profiles.ini | awk -F= '{print $2}'`
+PROFILE=$HOSTNAME
certutil -L -d $FIREFOX_DIR/$PROFILE
diff --git a/scripts/firefox-certs-remove.sh b/scripts/firefox-certs-remove.sh
index 13ca950..63f067b 100755
--- a/scripts/firefox-certs-remove.sh
+++ b/scripts/firefox-certs-remove.sh
@@ -10,7 +10,8 @@ fi
CA_INSTANCE_NAME=pki-tomcat
FIREFOX_DIR=$home/.mozilla/firefox
-PROFILE=`grep Path= $FIREFOX_DIR/profiles.ini | awk -F= '{print $2}'`
+#PROFILE=`grep Path= $FIREFOX_DIR/profiles.ini | awk -F= '{print $2}'`
+PROFILE=$HOSTNAME
echo cd $FIREFOX_DIR/$PROFILE
cd $FIREFOX_DIR/$PROFILE
@@ -18,6 +19,7 @@ cd $FIREFOX_DIR/$PROFILE
certutil -D -n "admin" -d .
certutil -D -n "caadmin" -d .
certutil -D -n "kraadmin" -d .
+certutil -D -n "kraagent" -d .
certutil -D -n "ocspadmin" -d .
certutil -D -n "tksadmin" -d .
certutil -D -n "Server-Cert cert-$CA_INSTANCE_NAME" -d .