Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

how to install certificates in firefox store using command line?

  • 2 svar
  • 1 har detta problem
  • 1 visning
  • Senaste svar av vamshisiram

more options

i am trying to use a powershell script to install the certificates to the user profile firefox cert store.

command line is

Start-process -filepath "C:\Program Files (x86)\Common Files\Firefox\NSS\bin\certutil.exe" -argumentlist "-A -d `"C:\users\username\Appdata\Roaming\Mozilla\Firefox\Profiles\Profilename`" -i `"C:\Program Files (x86)\Common Files\Firefox\Cert1.cer`" -n Cert3 -t `"C,C,`",`"C,C,C`"" -wait

this runs just fine, no issues.

here is the weird thing: On Windows 7: I can find the certificates when i use Certutil.exe with - L switch, but the certificates never show up in the advanced\certificates\authorities tab when i look.

and On Windows 10: I can find the certificated in Firefox advanced tab and also using the Certutil.exe -L switch.

Is this expected behavior? and am i doing something wrong on windows 7?

THanks for the help.

i am trying to use a powershell script to install the certificates to the user profile firefox cert store. command line is Start-process -filepath "C:\Program Files (x86)\Common Files\Firefox\NSS\bin\certutil.exe" -argumentlist "-A -d `"C:\users\username\Appdata\Roaming\Mozilla\Firefox\Profiles\Profilename`" -i `"C:\Program Files (x86)\Common Files\Firefox\Cert1.cer`" -n Cert3 -t `"C,C,`",`"C,C,C`"" -wait this runs just fine, no issues. here is the weird thing: On Windows 7: I can find the certificates when i use Certutil.exe with - L switch, but the certificates never show up in the advanced\certificates\authorities tab when i look. and On Windows 10: I can find the certificated in Firefox advanced tab and also using the Certutil.exe -L switch. Is this expected behavior? and am i doing something wrong on windows 7? THanks for the help.

Ändrad av vamshisiram

Alla svar (2)

more options

Did a google search for what you are wanting to do. There seems to be some info that you need to read in the wiki plus others https://www.google.ca/search?q=how+to+install+certificates+in+firefox+store+using+command+line&ie=utf-8&oe=utf-8&gws_rd=cr&ei=tf1qWbPHKIuM0wKft4CQBQ


Please let us know if this solved your issue or if need further assistance.

more options

@pkshadow: thanks for your response: i tried adding the certificates manually through the firefox import wizard and they still don't show up in the firefox/advacned view, but i can see them when i use the -L Switch with certutil. and i also tried adding the certificates with the trusted attributes that are shown after adding them manually. it shows in the cert sotre, but not in the firefox view.

is this expected behavior and can we assume that the firefox browser will use the certs in the firefox store, although they are not visible in the firefox/advanced/certificates options?