How do you install an SSL certificate on IIS 6 and 7?
-
02-07-2019 - |
Question
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.
Solution
You can look at
Something like: set ssl = CreateObject("IIS.CertObj")
ssl.InstanceName = "0.0.0.0:443"
ssl.Import pfxfile, pfxfilepassword, true, true
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow