Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Updated question

Older question

Is mod_ssl not for versions of Apache over 1.3.41? I've got version 2.2.17 (currently latest)

Original question

./configure --with-apxs=/usr/local/apache/bin/apxs
Configuring mod_ssl/2.8.30 for Apache/1.3.39
./configure:Error: Installed Apache doesn't contain Extended API (EAPI)

That's strange because my Apache version is 2.2.17

/etc/init.d/httpd -v
Server version: Apache/2.2.17 (Unix)
share|improve this question
up vote 1 down vote accepted

No, Apache2 contains an own mod_ssl, you can compile it in by specifying --enable-ssl on the configure command when compiling Apache.

share|improve this answer
You're right, but if I don't want to recompile Apache, there doesn't appear to be a configure file in {APACHE_INSTALLATION}/modules/ssl – gAMBOOKa Feb 17 '11 at 19:08
I've recompiled apache with --enable-ssl, i still don't see under modules – gAMBOOKa Feb 17 '11 at 21:09
"under modules" - did you mean folder? If you've added --enable-ssl, it will be compiled in statically. If you want a DSO (Dynamic Shared Object), add --enable-mods-shared='ssl' to the configure command. – Lekensteyn Feb 17 '11 at 21:19
Is it possible to enable mod_ssl without recompiling apache. (please answer with more than just "Yes"...) – user84496 Jun 14 '11 at 9:07
It's technically possible to enable mod_ssl if the Apache server supports DSO. You will need ssl_module ( that was compiled for your server. Put it in the right directory (typically /usr/local/apache2/modules for custom builds) and add the line LoadModule ssl_module modules/ to your httpd.conf. – Lekensteyn Jun 14 '11 at 9:29

On a solaris SunOS xxxxxxxxxx5.10 Generic_150400-18 sun4v sparc SUNW,T5240 I built the modd_ssl with the following features

  • installed in the apache module dir
  • edited httpd.conf to include LoadModule ssl_module modules/

bash# apxs -L/path/to/openssl/dir -I/path/to/openssl/dir/include -Wc,-fPIC -i -a -c mod_ssl.c

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.