• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1900
  • Last Modified:

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?
0
bemara57
Asked:
bemara57
1 Solution
 
meverestCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

WEBINAR: 10 Easy Ways to Lose a Password

Join us on June 27th at 8 am PDT to learn about the methods that hackers use to lift real, working credentials from even the most security-savvy employees. We'll cover the importance of multi-factor authentication and how these solutions can better protect your business!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now