LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11-28-2014, 03:32 PM   #1
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

Rep: Reputation: Disabled
Virtual hosts, SELinux, and PKIs


I am getting the following errors when trying to start httpd (Apache):
Code:
[Fri Nov 28 12:56:57 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Fri Nov 28 12:56:57 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Nov 28 12:56:57 2014] [error] Oops, no RSA, DSA or ECC server certificate found for 'mysite.com:0'?!
What might be causing this? The virtual host is created as follows, the keys and certs all seem to be existing.

Code:
<VirtualHost *:443>
    ServerName mysite.com
    ServerAlias mysite.com
    SSLCipherSuite SSLv3:TLSv1:+HIGH:!SSLv2:!MD5:!MEDIUM:!LOW:!EXP:!ADH:!eNULL:!aNULL
    SSLCertificateKeyFile /etc/pki/tls/private/mysite_key.pem
    SSLCertificateFile /etc/pki/tls/certs/mysite_startssl.crt
    SSLCertificateChainFile /etc/pki/tls/certs/sub.class1.server.ca.pem
    <Directory "/var/www/mysite/html">
        allow from all
        Options +Indexes
    </Directory>
</VirtualHost>
 
Old 11-28-2014, 03:37 PM   #2
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

Original Poster
Rep: Reputation: Disabled
Oops, look likes I forgot SSLEngine on.
 
  


Reply



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
[SOLVED] postfix fails to read /etc/hosts with selinux set to enforcing tkhater Linux - Server 1 07-17-2012 10:38 PM
debian lenny - all virtual hosts lead to first virtual host rantastic Linux - Server 2 04-21-2010 09:32 PM
SELinux puts ip into hosts.deny when accessing ossec web interface kav Linux - Software 3 04-21-2007 01:05 PM
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
Virtual Hosts!! chris Linux - General 4 02-03-2003 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:09 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
Open Source Consulting | Domain Registration