Certbot with Apache: Difference between revisions

Line 119: Line 119:
It also adds an Include Statement to the /etc/http/conf/httpd.conf file (which references another file): Include /etc/httpd/conf/httpd-le-ssl.conf
It also adds an Include Statement to the /etc/http/conf/httpd.conf file (which references another file): Include /etc/httpd/conf/httpd-le-ssl.conf


The /etc/httpd/conf/httpd-le-ssl.conf File includes the following (with a couple of carriage return, line feeds added to make it look neater);<source lang="text">
The /etc/httpd/conf/httpd-le-ssl.conf File includes whatever was in the Apache HTTP configuration file for the VirtualHost with SSL stuff added.  The following as a typical example;<source lang="text">
<IfModule mod_ssl.c>
<IfModule mod_ssl.c>


Line 143: Line 143:
</IfModule>
</IfModule>
</source>
</source>
No changes were made to the /etc/httpd/conf.d/ssl.conf file.  This makes sense, because the ssl.conf file is itself referenced as an Include in the httpd.conf file.
No changes were made to the /etc/httpd/conf.d/ssl.conf file.  This makes sense, because the ssl.conf file is itself referenced as an Include in the httpd.conf file.  However, if a web site is already configured with SSL, using a different source for an SSL certificate, the ssl.conf file is modified to reflect the path of the new certificates.


==Other Thoughts==
==Other Thoughts==