Solved

Configure apache ssl on linux

Posted on 2013-12-10
2
427 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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

738 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