I have a live domain which is working perfectly without SSL but on SSL it will showing me following page
Error Image:
https://i.stack.imgur.com/9GXjO.png
For this made changes in following files:
000-default:
<VirtualHost *:80>
ServerAdmin [email protected]
#DocumentRoot /var/www/
DocumentRoot /opt/tomcat/webapps/ROOT/WEB-INF/
Redirect "/" "https://www.mydomain.in/"
</VirtualHost>
default-ssl:
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin webmaster@localhost
#DocumentRoot /var/www/html
DocumentRoot /opt/tomcat/webapps/ROOT/WEB-INF/
SSLCertificateFile /etc/ssl/certs/mydomain.in_ssl_certificate.cer
SSLCertificateKeyFile /etc/ssl/private/_.mydomain.in_private_key.key
SSLCertificateChainFile /etc/ssl/certs/DigiCertCA.cer
</VirtualHost>
</IfModule>
apache2.conf:
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Directory /opt/tomcat/webapps/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
I that my project is located inside /opt/tomcat/ and not inside /var/www/
Please help me to solve this. I cant understand exact issue related with it