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?
victor2008Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
victor2008Author 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.
0
Dave BaldwinFixer of ProblemsCommented:
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.
0
RovastarCommented:
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
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.