O'Reilly logo

Internet Information Services (IIS) 6 Resource Kit by The Microsoft IIS Team

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing Server Certificates Programmatically

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 CryptoAPI interface.

Managing Server Certificates by Using IISCertObj

You can use IISCertObj to perform the following tasks:

  • Import copies of a server certificate from a .pfx file (a file containing a PFX-encrypted server certificate and a private key) from a server to multiple servers.

  • Save backup copies of server certificates on a central site.

  • Copy a server certificate from one server ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required