LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-17-2009, 06:39 AM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
How do I install ssl module for apache?


I compiled a fresh install of httpd on a new linux box, added a virtual hosts entry for an https site, but when I try to start apache I get the error:
Code:
Invalid command 'SSLEngine', perhaps misspelled or defined by a 
module not included in the server configuration
Is this because I don't have mod_ssl compiled in?

And if so how would I go about install that?

TIA
 
Old 10-17-2009, 01:39 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,194
Blog Entries: 1

Rep: Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056
You have to add "--enable-ssl" in ./configure options.

Regards
 
Old 10-17-2009, 01:45 PM   #3
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Original Poster
Rep: Reputation: 55
Thanks, that worked.
 
Old 10-17-2009, 04:20 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
You can always find the "most common" configure
options in a spec file ( from an src.rpm )
Example, post # 9, please see the attached file
http://www.linuxquestions.org/questi...ighlight=httpd

./configure is something like this
Code:
./configure \
        --enable-pie \
        --with-pcre \
        --enable-mods-shared=all \
	--enable-ssl --with-ssl --enable-distcache \
	--enable-proxy \
        --enable-cache \
        --enable-ldap --enable-authnz-ldap \
        --enable-cgid \
        --enable-authn-anon --enable-authn-alias \
        --disable-imagemap

Last edited by knudfl; 10-17-2009 at 04:21 PM.
 
  


Reply

Tags
httpd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install ssl for apache server deepu.sarma Linux - Security 1 05-06-2009 11:04 AM
trying to install SSL cert on apache 2.0 sneakyimp Linux - Security 6 07-23-2006 05:39 PM
Apache 2 with ssl and php will not install anubis26 Linux - Software 3 04-26-2006 04:39 PM
Apache + SSL as a module kernelvn Linux - Security 3 09-20-2004 03:16 AM
install apache 1.3.22 + ssl chuck77 Linux - Software 1 11-15-2001 05:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration