I downloaded a project on localhost via bitbucket, I set up a virtual host but I have an error on each browser that the certificate is self-signed. I created the certificate in xampp and added it to trusted certificates in the chrome / windows 10 settings and unfortunately I still have the same error. The project is on laravel 5 and in env file I set the http and APP_DEV domain to local.
my virtual host:
<VirtualHost *:443>
DocumentRoot "E:\xampp\htdocs\project\public"
ServerName project.app
SSLEngine On
SSLCertificateFile "E:/xampp/apache/conf/ssl.crt/server.crt"
SSLCertificateKeyFile "E:/xampp/apache/conf/ssl.key/server.key"
<Directory "E:\xampp\htdocs\project\public">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
I would like to run a project via virtual host on laravel 5. Unfortunately, I still have the error HSTS MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT on firefox on chrome and NET :: ERR_CERT_COMMON_NAME_INVALID. I will add that I only want to run the project locally on the localhost, therefore no certificate is needed here, but the browser blocks
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire