LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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: Chicago
Distribution: CentOS
Posts: 1,257

Rep: Reputation: 53
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
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,910

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
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: Chicago
Distribution: CentOS
Posts: 1,257

Original Poster
Rep: Reputation: 53
Thanks, that worked.
 
Old 10-17-2009, 04:20 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,646

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
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


All times are GMT -5. The time now is 07:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration