LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-16-2009, 06:54 PM   #1
justemail
LQ Newbie
 
Registered: Apr 2009
Posts: 29

Rep: Reputation: 15
Set up HTTPS Server


I am trying to setup two servers:

http://www.example.com
https://www.example.net

I have /etc/httpd/conf/httpd.conf setup with following:

Listen 80
Listen 443

NameVirtualHost *:80
NameVirtualHost *:443

<VirtualHost *:80>
ServerAdministration webmaster@example.com
DocumentRoot /var/www/html/example.com
ServerName www.example.com
ErrorLogs logs/example.com-error_log
<VirtualHost >

<VirtualHost *:443>
ServerAdministration webmaster@example.net
DocumentRoot /var/www/html/example.net
ServerName www.example.net
ErrorLogs logs/example.net-error_log
<VirtualHost >

I can display the http://www.example.com but not https://www.example.net

Help.
 
Old 05-16-2009, 08:17 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Where are your SSL directives to enable SSL and specify the key and certificates?
 
Old 05-17-2009, 01:53 AM   #3
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,232

Rep: Reputation: 132Reputation: 132
Enough information available in google to configure SSL under Apache. here i can give a link for your reference.
http://www.onlamp.com/pub/a/onlamp/2...er-apache.html
 
  


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
Redirecting http to https on virtual server Oobydoobywapwap Linux - Security 1 01-25-2008 04:02 PM
HTTPS and HTTP on same server Jake_B Linux - Software 2 11-28-2005 04:47 PM
https server..cetificate and ssl name_in_use450 Linux - General 0 09-05-2004 11:03 AM
https/443: I scanned my server and came up with this and not sure what it means. ForumKid Linux - Security 1 02-05-2002 06:19 AM


All times are GMT -5. The time now is 12:35 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