Xampp HTTPS HSTS Failure – Fresh Installation

Laraship QuestionsCategory: TechnicalXampp HTTPS HSTS Failure – Fresh Installation
Markus Markert asked 2 years ago
Hi, installed elite platform with membership  module and a theme (2). no error on installation. but i always getting a failure from chrome / firefox, that it is not a safe connection. a normal installation of laravel on a other vhost works. what could it be for a problem?  Windows Host File
127.0.0.1 xxx.app Xampp Vhost <VirtualHost xxx.app:443>
DocumentRoot "C:\code\cs2\public"
ErrorLog "logs/xxx-app-error.log"
Header always set Strict-Transport-Security "max-age=0"
DirectoryIndex index.php
ServerName xxx.app
SSLEngine On
SSLCertificateFile "C:/xampp-ms2/apache/conf/ssl.crt/server.crt"
SSLCertificateKeyFile "C:/xampp-ms2/apache/conf/ssl.key/server.key"
<Directory "C:\code\cs2\public">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
Require all granted
</Directory>
</VirtualHost> Self signed SSL Certificate and imported into Chrome / Firefox. Greetings Markus
1 Answers
laraship Staff answered 2 years ago
Hello, SSL certificates are part of the server, not the package, but as a quick tip for you, self-signed certificates will always show you not secured.