Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Configure apache ssl on linux

Posted on 2013-12-10
2
Medium Priority
?
462 Views
Last Modified: 2013-12-11
Hi,

I am trying to configure the Apache (web server)  ssl on Linux machine as per mentioned in the steps on site

http://httpd.apache.org/docs/current/ssl/ssl_howto.html

In the httpd.conf file when i write the below line

LoadModule ssl_module modules/mod_ssl.so

It gives me error unable to load the module.
When i go into the modules folder i don;t file the file with the name "mod_ssl.so"

what should i configure to avoid the problem
0
Comment
Question by:Rocking
2 Comments
 
LVL 13

Expert Comment

by:Daniel Helgenberger
ID: 39709166
Can you please be a little more specific; eg. tell us:
- your distro and kernel version
- whatever you installed apache / httpd from your package manager or build it from source
- particularly important would be you have  SELinux enforcing
- post the snippet from /var/log/messages and /var/log/<yourhttpd.log> when you start the service
- attach / post your httpd config

When i go into the modules folder i don;t file the file with the name "mod_ssl.so"
Please be more careful when asking a question; is the module there or is it not there?

Thanks,
Helge
0
 
LVL 19

Accepted Solution

by:
xterm earned 2000 total points
ID: 39710214
If you're running any RedHat derivative (RHEL, CentOS, Fedora, etc.) do the following:

sudo yum install mod_ssl

This will install /etc/httpd/conf.d/ssl.conf which already contains the LoadModule directive, so you shouldn't actually need to edit httpd.conf
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Fine Tune your automatic Updates for Ubuntu / Debian
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month12 days, 23 hours left to enroll

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question