為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

how to install certificates in firefox store using command line?

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 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.

由 vamshisiram 於 修改

所有回覆 (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?