Reputation: 21211
Is there a tool or programmatic way to install an SSL certificate to the default website in IIS 6 and 7? Ideally I am looking for something that can be done via unmanaged code or .NET managed code.
Upvotes: 0
Views: 666
Reputation: 2355
You can look at
Something like: set ssl = CreateObject("IIS.CertObj")
ssl.InstanceName = "0.0.0.0:443"
ssl.Import pfxfile, pfxfilepassword, true, true
Upvotes: 1