Managing Server Certificates Programmatically (IIS 6.0)
There are many ways to manage server certificates programmatically. This section provides a description of two different methods, including sample scripts for performing management tasks related to server certificates. One method uses the IISCertObj COM object, and the other method uses a CAPICOM-based script. CAPICOM is a Cryptographic interface (CryptoAPI).