SSL Not Working properly
-
Hi! I have a home server. I have been Installed Laragon Lite Version With Apache 2.4.7. I have been configured the server to work online but i have a problem with SSL Certificate. I have made the certificate's for each domain but they work properly only localhost. I have put the files (.crt, .key, .cnf) for each domain in this path : ( c:\laragon\etc\ssl) and also in the htaccess file i have added those lines:
[ RewriteEngine On
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
Options +FollowSymLinks -MultiViews]
After that i put also in httpd-vhosts.conf those lines:
<VirtualHost app.dev:443>
DocumentRoot "${DOCROOT}/app"
ServerName app.dev:443SSLEngine on SSLCertificateKeyFile C:/laragon/etc/ssl/app.key SSLCertificateFile C:/laragon/etc/ssl/app.key SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>