Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-27-2004, 07:12 AM   #1
John Micheal
Registered: Apr 2004
Location: Germany
Distribution: RedHat 9
Posts: 38

Rep: Reputation: 15
Unhappy Apache SSL problem , please help

Dear all,

i am running RedHat 9 , it have RPMs for Apache 2 , i already installed them now i am willing to start the SSL configuration , the SSL RPM is already installed , it also offered me certification file for test .

i started to add the following to httpd.conf file

<IfDefine Have_SSL>
DocumentRoot /etc/httpd/secure
ErrorLog /home/test/error_log
TransferLog /home/test/access_log
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown

and i have created a file named home.html under /etc/httpd/secure

then i started the apache with : apachectl startssl

when i am testing it , when i try to connect to
it send the certifaction messege to me which i have to accept first so i can go forward , that is really perfect i accept it and it show me the apache test page . PERFECT

the problem:
when i try , it say page not found

i will really getting mad
it sent me the cerification messege so it seem that the configuration is right but when i try to connect to any page under the DocumentRoot directory it say { page not found }

can anyone help please ????

or can anyone tell me how i can configure SSL for RedHat 9

Old 10-30-2004, 09:33 AM   #2
Registered: Oct 2004
Location: Northville, MI
Distribution: Slackware
Posts: 65

Rep: Reputation: 15
You're sure you have /etc/httpd/secure/home.html in place? If so, try loading it again with your https URL, and when you get the 404 not found, head over to your error_log to see what that has to say. Another test to do, while the server is running, is to place the file home.html in the server's main DocumentRoot (the one defined outside of your VirtualHost directive) and then re-load. If it comes up, then your Apache server is looking there, instead.
Old 10-31-2004, 12:43 PM   #3
John Micheal
Registered: Apr 2004
Location: Germany
Distribution: RedHat 9
Posts: 38

Original Poster
Rep: Reputation: 15
dear all ,
thanks alot for your kindly help ,
i foud the mistake when you use the command (( apachectl startssl )) it load the configuration from both the httpd.conf and a file names ssl.conf , so if you want to put your ssl configuration in the httpd.conf you only use (( apachectl start )) if you used the apachectl startssl you have to remove the ssl configuration to the ssl.conf file not in the httpd.conf file



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 SSL Problem opiea Linux - Newbie 5 05-01-2005 08:32 PM
Apache SSL Problem carlg Linux - General 0 10-13-2004 12:02 PM
Problem Installing ssl support with Apache 2.0.50 kaplan71 Linux - Software 1 08-12-2004 01:20 AM
Problem Starting Apache with SSL -- URGENT kaplan71 Linux - General 0 02-09-2004 07:10 AM
Problem with apache SSL and PHP Donboy Linux - Software 3 10-30-2003 12:08 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:26 PM.

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