Stephen Forlance
asked on
SSL on Apache 2... config file
Can anyone spot anything that might be stopping SSL from working. This my first time installing an SSL cert on a server.
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
SSLEngine on
SSLCertificateFile /root/domain.com.crt
SSLCertificateKeyFile /root/domain.com.key
SSLCertificateChainFile /root/intermediate.crt
<Directory /var/www/html/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.lo g
CustomLog ${APACHE_LOG_DIR}/access.l og combined
<IfModule mod_dir.c>
DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
</IfModule>
</VirtualHost>
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
SSLEngine on
SSLCertificateFile /root/domain.com.crt
SSLCertificateKeyFile /root/domain.com.key
SSLCertificateChainFile /root/intermediate.crt
<Directory /var/www/html/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.lo
CustomLog ${APACHE_LOG_DIR}/access.l
<IfModule mod_dir.c>
DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
</IfModule>
</VirtualHost>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.