2013-12-19 247 views
0

我试图通过CMD导入证书用的certutil.exe火狐 - 添加证书用的certutil.exe - Windows XP中

我试过此命令后:

certutil.exe -A -n C:\Documents and Settings\xxxxx\Desktop\RootCert-somecert.cer -t c 

它返回我

certutil.exe: function failed: The certificate/key database is in an old, unsupported format 

你能帮我吗?

回答

-1
  1. 确保key3.db,cert8.db和secmod.db位于运行certutil的同一目录和当前目录中。如果你想为db指向另一个目录,使用-d参数。
  2. -n参数用于为证书提供别名。要指定要添加的证书,请使用-i参数。

例如:

certutil.ex -A -n "mycert" -i "C:\Documents and Settings\xxxxx\Desktop\RootCert-somecert.cer" -t c -d "C:\certdb" 

希望它有助于