Using Apache 2.2.xx for serving several low-traffic domains with primarily static pages (meaning, unsecure HTTP is generally fine). However, for a variety of reasons, I'm starting the slow process of re-configuring for SSL support for https connections.
In the early stages of this effort, I've noticed several things related to configuring Apache which seem to relate to the same thing. Hoping someone can help me understand the difference between the following bits of code which can, in theory, be placed itno httpd.conf:
# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf
versus (or, in addition to)
# Bring in additional module-specific configurations
<IfModule mod_ssl.c>
Include conf/ssl.conf
</IfModule>
If it helps/matters to the answer, I compile Apache from source (as opposed to downloading from a repo), on a box with a recent flavor of openssl installed. I've tried using
./configure --prefix=/usr/local/apache2 --with-included-apr \
--enable-ssl
--with-ssl=/opt/openssl-1.0.1e
and and have tried various permutes to the httpd.conf to get it working. if I try uncommenting the following, which seems like what I should do,
# Bring in additional module-specific configurations
<IfModule mod_ssl.c>
Include conf/ssl.conf
</IfModule>
system throws an error about missing ssl.conf (which makes sense, since there is no ssl.conf in conf/ssl.conf). Seems like ssl.conmf only gets installed if you yum install (or equivalent) mod_ssl. So, what do you do if you compile from source?
So, I'll start with small steps -- trying to figure out what flags I need to set during compilation, and what SSL-related things I should be configuring httpd.conf.
Thanks much in advance...