diff options
Diffstat (limited to 'scripts/firefox-certs-import.sh')
-rwxr-xr-x | scripts/firefox-certs-import.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/firefox-certs-import.sh b/scripts/firefox-certs-import.sh new file mode 100755 index 0000000..35b6939 --- /dev/null +++ b/scripts/firefox-certs-import.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}'` + +CLIENT_DIR=/tmp/pki-master_client +input=$CLIENT_DIR/ca_admin_cert.p12 + +pk12util -i $input -d $FIREFOX_DIR/$PROFILE -W Secret123 +certutil -M -n admin -t u,u,u -d $FIREFOX_DIR/$PROFILE + +#pk12util -i $SRC_DIR/pki-dev/certs/kra/kra-client-certs.p12 -d $FIREFOX_DIR/$PROFILE -W Secret123 +#certutil -M -n kraadmin -t u,u,u -d $FIREFOX_DIR/$PROFILE |