We help IT Professionals succeed at work.

If I run IIS and Apache on same server, do I need two different SSL Certificates or can I use one for both?

If I run IIS and Apache on same server, do I need two different SSL Certificates or can I use one for both?
Comment
Watch Question

Fixer of Problems
Most Valuable Expert 2014
Commented:
First, you can't run IIS and Apache both on the standard port 80 on the same machine.  One would have to use an alternate port like 8080.  So second, you can't use the same SSL Certificate for a web site on each of them.  SSL certificates are tied to domain names but the process only allows them to work on a single IP address.

Author

Commented:
if the server has two IP addresses and two domain names.  One for the Apache website and one for the IIS website, I will need two certificates, correct?  Thank you.
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Commented:
Yes if it works.  I'm not sure you can get them to listen to port 80 on separate IPs without conflict.  But you might.  See if you can get them to work without the SSL first.
Commented:
You have to have (in general) one SSL certificate per IP address.If doesn't matter what technologies 2 sites on Apache or 2 sites on IIS or a mixture of both.

Just to add to what Dave said about both running on port 80 also you cannot run port 443 (https default port for your SSL) on both machines too.

Also I would not fully  recommend running Apache on windows anyway and especially running IIS and apache - you are likely to have problems.

Have a look at this other question I am answering a the moment about this issue too.

http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Apache/Q_27476783.html#a37232195