搜尋 Mozilla 技術支援網站

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

了解更多

[HELP] Import PFX certificate from a command line

  • 2 回覆
  • 3 有這個問題
  • 1 次檢視
  • 最近回覆由 Keslaa

more options

Dear all,

I am currently trying to import a user certificate with a .pfx extension. The certificate includes a private key as well as a password. The import works perfectly well in GUI, but when I try to import via CERTUTIL (the specific one for firefox), I keep getting an error message:

Can certutil for firefox import .pfx files?

These are the steps we performed: - Export certificate from the Windows store with a provate key and a password - Script checks the %appdata% folder and parses the different profiles within the Firefox profile folder - The folder ending with .default is targetted - The script then runs certutil to import the certificate (exported in step 1) in the cert8.db found in the folder (parsed in step 3)

And we are blocked :(

Help would be greatly appreciated.

Thx,

Ben

Dear all, I am currently trying to import a user certificate with a .pfx extension. The certificate includes a private key as well as a password. The import works perfectly well in GUI, but when I try to import via CERTUTIL (the specific one for firefox), I keep getting an error message: Can certutil for firefox import .pfx files? These are the steps we performed: - Export certificate from the Windows store with a provate key and a password - Script checks the %appdata% folder and parses the different profiles within the Firefox profile folder - The folder ending with .default is targetted - The script then runs certutil to import the certificate (exported in step 1) in the cert8.db found in the folder (parsed in step 3) And we are blocked :( Help would be greatly appreciated. Thx, Ben

所有回覆 (2)

more options

It should, but you can do it from the Preference/Options > Security menu as well: * Windows: Tools -> Options -> Advanced -> Manage Certificates

more options

benjaidafufukil,

Did you script the export from the Windows store as well? Would it be possible to see a copy of your script? We need to do the same thing on about 2000 workstations.

Eric