Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Configure apache ssl on linux

Posted on 2013-12-10
2
Medium Priority
?
449 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 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

Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

730 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