In IIS I need to map www.domain.com and domain.com to use a specific SSL certificate. I have tried using appcmd and editing applicationHost.config but I don't see how to tie each host-header to a specific certificate. If I add the bindings in the config file and then look in the UI, no certificate is applied to bindings.

The certificate is for www.domain.com but has an alias for domain.com.

link|improve this question

80% accept rate
feedback

migrated from stackoverflow.com Apr 8 '11 at 10:34

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 2 down vote accepted

I've solved the question using this post. Basically adding an * to the beginning of the friendly name of the certificate will allow you to edit the host header for a HTTPS binding in IIS7 manager.

link|improve this answer
Thanks, much easier than messing around with appcmd – AndyMcKenna Feb 6 at 14:23
feedback

Your Answer

 
or
required, but never shown

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