LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-23-2002, 08:42 AM   #1
simquest
LQ Newbie
 
Registered: Jul 2002
Location: Quebec
Posts: 21

Rep: Reputation: 15
Wink 2 certificate ssl in 1 server apache


I want to install 2 ssl certificate in 1 apache Web server. But Apache dont accept 2 certificate. The 2 sites have the same ip adress. I want use the same port ( 443 ) for my two ssl connections. Is it possible the solution is virtual hosts.
 
Old 07-23-2002, 09:59 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
You need a unique ip + port for each secure (virtual) host. So what you are trying to do is not possible. You'll either have to get another ip address for it or run it on a different port.

Once you do have a unique ip + port combination for a virtual host then you can add the following lines for it to get the right certificate:

<VirtualHost 192.168.10.1:443>
DocumentRoot /home/web
ServerName www.mysite.com
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
SSLCACertificateFile /etc/httpd/conf/ssl.crt/ca-bundle.crt
</VirtualHost>
 
Old 07-24-2002, 11:47 AM   #3
needamiracle
Member
 
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106

Rep: Reputation: 15
create another interface for eth0

can't you create another interface on eth0 like eth0.1 and give it a unique IP? Would this solve your problem?

Just a thought..
 
  


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 certificate server progjm Linux - Security 4 07-09-2005 02:10 PM
apache-ssl certificate no good ocularbob Linux - Software 2 09-30-2003 04:37 PM
Apache (mod_ssl) causes server to die because of missing DSA certificate BxBoy Linux - Software 1 08-18-2003 01:08 PM
SSL certificate without..... Drogo Linux - Software 1 06-13-2003 02:13 AM
How to create new SSL certificate for apache ?? chuck77 Linux - General 7 05-15-2003 01:16 PM


All times are GMT -5. The time now is 03:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration