Solved

Configure apache ssl on linux

Posted on 2013-12-10
2
434 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 500 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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
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 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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

636 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