搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to install a certificate through a batch file?

  • 5 个回答
  • 4 人有此问题
  • 86 次查看
  • 最后回复者为 whyN

more options

I have my certificate: name.cer

I need to install it through code. Is it possible to install it through a batch file? I need this to be automated for an application, else users will be forced to do it manually... which would be really bad...

thanks

I have my certificate: name.cer I need to install it through code. Is it possible to install it through a batch file? I need this to be automated for an application, else users will be forced to do it manually... which would be really bad... thanks

被采纳的解决方案

I get it now it's on github... would there be a simple place where I can download the executable file?

定位到答案原位置 👍 0

所有回复 (5)

more options
more options

cor-el said

See Installing Certificates Into Firefox:

thanks, butthe certutil used in the link if for shell unless I'm wrong? With Windows it doesn't work. Or am I wrong?

more options

You probably need to compile the code to get a working certutil.exe file. This utility needs to be used with the cert8.db file in the Firefox program, so you would first have to parse the profiles.ini file to get the location (file path) of the main profile folder.

See also:

more options

cor-el said

You probably need to compile the code to get a working certutil.exe file. This utility needs to be used with the cert8.db file in the Firefox program, so you would first have to parse the profiles.ini file to get the location (file path) of the main profile folder. See also:

thanks for you answer again. I'm not sure exactly what you are saying there? Compile what?

more options

选择的解决方案

I get it now it's on github... would there be a simple place where I can download the executable file?