LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-09-2009, 02:37 AM   #1
ashishshukla
Member
 
Registered: May 2008
Posts: 35

Rep: Reputation: 15
Question need help regarding configuration of multiple ssl in one apache server


Hi Friend,
I need to run multilpe ssl certificate in one apache server where my application server is same. i configure http.conf -

<VirtualHost X.X.X.X:443>
ServerName abcd.com
SSLProxyEngine ON
SSLEngine On
SSLCertificateFile /etc/httpd/conf/abcd.cer
SSLCertificateKeyFile /etc/httpd/conf/server.key
ProxyPass /zimbra http://w.x.y.z:8100/zimbra
ProxyPassReverse /zimbra http://w.x.y.z:8100/zimbra
</VirtualHost>


<VirtualHost X.X.X.X:443>
ServerName pqrs.com
SSLProxyEngine ON
SSLEngine On
SSLCertificateFile /etc/httpd/conf/pqrs.cer
SSLCertificateKeyFile /etc/httpd/conf/server.key
ProxyPass /zimbra http://w.x.y.z:8100/zimbra
ProxyPassReverse /zimbra http://w.x.y.z:8100/zimbra
</VirtualHost>


when i open https://pqrs.com/zimbra or https://abcd.com/zimbra, it shows same SSL certificate of abcd.com.

In short sceniario is like that we have multiple ssl in one apache server which will redirect to the same zimbra server
Kindly help me.
Thanks.
 
Old 04-09-2009, 02:42 AM   #2
ashishshukla
Member
 
Registered: May 2008
Posts: 35

Original Poster
Rep: Reputation: 15
My problem is that for both the url ( abcd.com and pqrs.com) , it shows /or opens same SSL certificate of abcd.com.

Please help me to resolve the problem...
thanks
 
Old 04-09-2009, 07:35 AM   #3
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 741

Rep: Reputation: 73
You need one of this 2 things, put the SSL host on different ports like 443,444,445 and so on, or you need for all vhosts different IP addresses.

Good luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Multiple SSL VirtualHosts richinsc Linux - Server 4 11-20-2008 12:38 AM
Apache configuration using SSL mpiramanayagam Linux - Newbie 2 10-24-2008 04:28 AM
Apache 2 - Multiple SSL Vhosts msound Linux - Server 6 04-04-2008 03:04 AM
multiple ssl certs, single apache server? hank43 Linux - Software 0 01-26-2005 05:56 PM
apache+ssl configuration spook Slackware 5 01-14-2003 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration