SSL on a single server for multiple web sites

2019-07-12 04:27发布

Here is my scenario:

default website on IIS 6.0 is already protected by an SSL cert with common names covering the following:

domainname.com www.domainname.com

I have a new website on the same IIS server and need to protect it with an SSL cert with the following common name:

subdomainname.domainname.com (same domainname as default)

I do not have the freedom to add a new IP address to the server. Not an infrastructure friendly request for whatever reasons.

We also have our Exchange webmail protected by another cert on another server with:

webmail.domainname.com

I do not believe I can use a wildcard cert because exchange is on a different server, correct?

Whether I can or not use a wildcard server, how can I protect the new subdomain on the main IIS server with a new cert? Do I replace the cert on the default with the new common name representing the subdomain web site and the default web site common names. Can I assign the same cert on the same server with all common names needing protection to multiple websites on IIS 6.0?

Thanks for any help in getting this resolved.

标签: ssl iis-6
3条回答
迷人小祖宗
2楼-- · 2019-07-12 04:40

You can get a single cert and use it on multiple servers so long as the DNS entries map out to the correct servers.

Go Daddy offers several cert types and they don't make it clear how to deal with this issue.

Standard (Turbo) SSL 1 domain ~$30
Standard Multiple Domain (UCC) SSL Up to 5 Domains ~$90
Standard (Turbo) Wildcard SSL ~$200

Get the 5 domain cert with

domainname.com
www.domainname.com
subdomainname.domainname.com
webmail.domainname.com

all listed on the one cert. Complete the request on the server you started the request from then use the tools built into the windows servers to copy the cert from one server to another. Doing so doesn't remove it from the first server and adds it to the second.

I did this not too long ago. My Web server is 2008 and the mail server is 2003. In that combination I had to export as a .pfx file and then import the .pfx. If you do it from 2003 to 2003 you may be able to use the copy from another server option and save manually moving the exported file around.

In my case the cert mentions "Certificate Subject Alt Name" with

Not Critical
DNS Name: www.adomain.com
DNS Name: adomain.com
DNS Name: www.adomain.com
DNS Name: mail.adomain.com

Looks like one of those lines is a duplicate but hey it works. I don't know why the cert uses the terminology of "Not Critical" to head that section.

IIS won't let you put two sites on the same IP/port combo but it will let you put the same SSL on two different sites. The secondary site will have to use something other than 443 if you don't have the option of using a different IP address.

查看更多
放我归山
3楼-- · 2019-07-12 04:43

Save yourself some money, just buy 1 Wildcard SSL and export it to as many servers you like. Most CA's including ssl.com (for which I am a part - disclaimer) offer unlimited server licenses. Or most CA's now also offer a form of limited UC whereby you get a limited number of multiple domains on your UC cert. Case in point SSL.com Premium gets you 3 domains but is basically a UC (or SAN) certificate and at ~$74 is cheaper than a wildcard. So if you only have 3 subdomains, go with the SSL.com Premium

You may also find http://www.ssltools.com/manager useful in managing your Windows ssl certs.

查看更多
爷、活的狠高调
4楼-- · 2019-07-12 04:56

You are correct, you would need multiple signed certificates for your servers. Godaddy offers certs for single-servers only, AFAICT. DigiCert offers multi-domain, multi-server certificates. I've never used them, so I can't vouch for anything they offer, but it shows that what you want IS available in the marketplace.

查看更多
登录 后发表回答