Programmatically adding SSL certificate

Giganews Newsgroups
Subject: Programmatically adding SSL certificate
Posted by:  Hugh Williams (HughWillia…@discussions.microsoft.com)
Date: Tue, 14 Nov 2006

Short version: how can you get IIS to use a certificate for SSL without using
the wizards?

Longer version:

I am writing some automated tests for a web service.

I need to write some code that will configure the web site (the system under
test) to use an SSL certificate.

The only way I can find to make IIS use a server certificate is to run the
wizards by hand. I need to automate the process.

Thanks for any help.

Replies