How to assign SSL certificate with APPCMD?

Can you advise me whether it is possible or not to assign a SSL Certificate to a website in IIS7 using the APPCMD application?

I am familiar with the command to set the HTTPS Binding:
appcmd set site /site.name:"A Site" /+bindings.[protocol='https',bindingInformation='*:443:www.mysite.com']

But can not seem to find any way to map a site to a SSL certificate. Is this possible?
bemara57Asked:
Who is Participating?
 
meverestConnect With a Mentor Commented:
Hi,

Do you want to 'map' it to a previously existing cert, or do you want to make a new one?

have you tried using the 'selfssl' utility that ships with the IIS6 resource kit? Suppoirt for IIS7 is apparently not perfect - you have to manually add the bindings afterward (like above) - but it does set up the certs and keychain apparebtly.

Cheers.
0
All Courses

From novice to tech pro — start learning today.