Script install certificates

  • Thread starter Thread starter Aleksandar Dzambaski
  • Start date Start date
A

Aleksandar Dzambaski

Hi,
I want to know if it is possible to install digital
certificates in windows 2000 by batch command (script).

I am performing an installation of Windows 2000 server on
several places and my installation procedure requires
installing digital certificates with the whole chain with
the root on the top. There are different certificates for
each of the branches but I want to automate the procedure
by using scripts.

Thank you,
Aleksandar
 
It is certainly possible.

You might be able to use the "certutil" tool; see:

http://www.microsoft.com/windows2000/en/server/help/sag_CS_CertUtil2.htm
http://www.google.com/search?q=certutil+site:microsoft.com

I only recently learned about this tool, so I am not sure whether it
can do what you want.

You can definitely use scripting and CAPICOM. For the script which I
use, see:

http://unattended.sourceforge.net/apps.html#cert

It is written in Perl, but it would be easy to port to any scripting
language since it just invokes a bunch of COM interfaces.

- Pat
 
Back
Top