Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

[HELP] Import PFX certificate from a command line

  • 2 replies
  • 3 have this problem
  • 1 view
  • Last reply by 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

All Replies (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