Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have purchased an SSL certificate and I should be able to configure IIS 7 to use that certificate for both https://domainname and https://www.domainname

I have looked online but didn't find a solution so far. Is this possible to do? According to the company that issues SSL, a single SSL can be used in both cases.

Thank you

share|improve this question
2  
Those should be slashes (/) rather than backslashes (\). –  Dennis Williamson Jan 24 '11 at 18:25
    
@Dennis - then jump in and fix it ;) –  Mark Henderson Jan 24 '11 at 21:25
    
@Mark: I often do ;) –  Dennis Williamson Jan 24 '11 at 22:15
    
@Dennis - I know, sorry, it was a bit tongue in cheek –  Mark Henderson Jan 24 '11 at 22:19
    
@Mark: I saw the ;) wink. –  Dennis Williamson Jan 24 '11 at 22:30

5 Answers 5

If you have purchase a standard, single domain SSL certificate, then it will be for one domain, so you can only use it for domainname.com or www.domainname.com.

If you have purchased a wildcard or UCC certificate then it will allow either unlimited subdomains (in the case of a wildcard) or mulitple domains up to a certain number (in the case of UCC).

share|improve this answer
2  
Don't know if it's the case here, but many CAs will issue a cert for both example.com and www.example.com even when you request just one or the other. –  Chris S Jan 24 '11 at 18:14
2  
Worth mentioning that a wildcard certificate that covers *.example.com will not cover example.com (but will cover www.example.com) in some browsers –  Mark Henderson Jan 24 '11 at 21:26
    
True, and yes I should have mentioned that, some CAs will issue both in either 2 certs or a single UCC one. –  Sam Jan 24 '11 at 22:07

It depends on how you have IIS configured. If you are certain the cert has both example.com and www.example.com in the SN and/or SAN then it will work for both, simple configure it in the bindings for the site(s). If you don't know how to configure the cert in the bindings section of IIS, then that's a wholely different problem.

share|improve this answer
    
Hi, thank you for the reply. Yes, I have been looking at bindings, but IIS7 does not allow me to use the same certificate for two different domain names. –  vikp Jan 24 '11 at 18:32
    
Can you be more specific as to how it is not allowing you to set the binding? –  Chris S Jan 24 '11 at 19:21

You should just buy one for either example.com or www.example.com and redirect the other one to the one you decided to SSL

share|improve this answer

You could direct website.com to www.website.com and use the SSL on www.website.com.

share|improve this answer

As Chris S alluded to, just go with a Provider that will give you a Subject Name Alternative so both example.com and www.example.com can be used.

DigiCert's "SSL Plus" certificate offers this for example (not affiliated, but a customer).

Cheers

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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