Link to home
Start Free TrialLog in
Avatar of Stephen Forlance
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.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        <IfModule mod_dir.c>
            DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
        </IfModule>

</VirtualHost>
ASKER CERTIFIED SOLUTION
Avatar of JesterToo
JesterToo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial