CertUtil: Import a .cer certificate from the command line
Windows provides several ways to import certificates: the Certificates snap-in for MMC, Internet Explorer and the command-line tool certutil.exe.
Certutil.exe lets you manage digital certificates from the command line.
The graphical tools are enough in many cases, but some tasks need a command-line tool. I use certutil.exe when distributing software packages with Microsoft ConfigMgr 2007 (SCCM).
Import a certificate into the Current User store
This example imports a .CER certificate into the Personal folder under “Current User - My User account”:
- Open Command Prompt (
cmd.exe). - Go to the folder containing the .CER file.
- Run the following command:
| |
The certificate has now been imported. In this example, I imported a missing VeriSign code-signing certificate.
Certutil.exe can also import certificates into the Computer account portion and control the certificate’s folder placement.
Reference
4 comments
Comments from the original WordPress site, kept read-only.


Can you tell us the syntax to install a certificate for the all users?
Thanks for info but what is differen certutil and certmgr tool?
hi,
thank you for your post ,
do you know how to import into approved editors -f "?"
Best regards,,
how to reach certutil in windows explorer , thanks