I have the following powershell script that creates a new website in IIS6:

https://github.com/dagda1/iis6/blob/master/create-site.ps1

Does anyone know how I can assign an existing ssl cert to the website?

I know I can set the port number using adsutil.vbs like this:

cscript adsutil.vbs set w3svc/xxx/securebindings ":443:somewhere.com"

But I am drawing a big blank when it comes to assigning an existing ssl certificate.

Thanks

Paul

link|improve this question

17% accept rate
feedback

1 Answer

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.