开发者

Do ssl certificates apply to the server or the hostname? [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

开发者_运维知识库 Improve this question

Im new to hosting sites with ssl certificates and i wanted to know, if the server is running an iis server with a site and i now install apache on the same server, does the certificate apply to both hosts and if not, if i use the same dns/site address will it then apply?

After the responces i have gotten i would like to add that in order to run apache and iis i have to change the port number of the apache site, does the cert apply to this, so if iis is host www.123.co.za and apache www.123.co.za:8080 - does the cert apply, espicially considering ssl is on its own port ??


On the conceptual side, an SSL certificate establishes identity; that is it verifies that the person or organization who owns a particular domain name (hostname) approves of the actual server that the client is communicating with. Thus, the certificate itself is not tied to any particular server, but it is tied to a hostname or set of hostnames (for example, a *.example.com certificate would be valid for www.example.com and test.example.com.

On the practical side, if both server programs are set up with the certificate, and both have domain names within the scope of the certificate, it should work just fine.


An SSL certificate in this context is used to certify the host name. As long as you have the key pair and the certificate, you should be able to use the same certificate in IIS, Apache or any other SSL server.

You will however run into problems if you want to run several sites under different host names on the same ip and tcp port.

So, from a technical point it should be perfectly possible to use the same certificate in IIS running on www.123.co.za:443 and Apache running on www.123.co.za:9443.


It depends on type of your certificate (is it a wildcard certificate?) and a license you bought it under.

As far as I can see a typical cheap certificate apply for any ports on the host it is issued for. So, yes, www.example.com and www.example.com:8080 can both use same certificate.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜