I have Apache 2.4.6 installed on RHEL 7 and it works fine without SSL. Since I am doing this for the first time, I have few questions:
The doc here says that my SSL Configuration (which I believe
httpd.conf) must contain the following entries:
LoadModule ssl_module modules/mod_ssl.so Listen 443 <VirtualHost *:443> ServerName www.example.com SSLEngine on SSLCertificateFile "/path/to/www.example.com.cert" SSLCertificateKeyFile "/path/to/www.example.com.key" </VirtualHost>
I have searched my
httpd.conf for the lines
LoadModule but couldn't find it. I was under assumption that they might have commented out and I would need to uncomment it and make changes but both the lines doesnt' exist.
1) Can I copy and paste above two entries at the end of my file and configure or is it an abnormal thing that I didn't see above things commented out?
2) From where I can figure out if I have
mod_ssl.so present somewhere in my Apache or not?
3) Right now, my listen is defined as follows :
XX.XX.XXX.XX is my server IP address. Should I comment it out and completely change it to
XX.XX.XXX.XX:443 ? The documentation just says
Listen 443 and hence I am confused.