
$ProfilePath = $ProfilePath + (Get-ChildItem $ProfilePath | ForEach-Object ).ToString() $ProfilePath = "C:\Users\" + $env:username + "\AppData\Roaming\Mozilla\Firefox\Profiles\" #Get Firefox profile cert8.db file from users windows profile path This only works if the user has one firefox profile (need somehow to retrieve the users firefox folder profile name) #Script adds Radius Certificate to independent Firefox certificate store since the browser does not use the Windows built in certificate store This script will get the users profile path and add the certificate. Options->Advanced-Certificates->Authorities->DeleteĦ, Create a powershell script using the information from step 4 as follows.

my company Ltd CT,C,Cĥ, Delete the certificate in step 2. I needed programmatically add a cert to the firefox database using a GPO, this was how I did it for Windowsġ, First download and unzip the precompiled firefox NSS nss-3.13.5-nspr-4.9.1-compiled-x86.zipĢ, Add the cert manually to firefox Options->Advanced-Certificates->Authorities->Importģ, from the downloaded NSS package, run certutil -L -d c:\users\\appdata\roaming\mozilla\firefox\.defaultĤ, The above query will show you the certificate name and Trust Attributes e.g. Just wanted to add to an old thread to hopefully aid other people.
