Solved

Configure apache ssl on linux

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now