how solve Apache2 ssl Cert Problem with laravel

  apache2, laravel, lets-encrypt

I have generated SSL Cert Using Letsencrypr and I installed it in apache using this configuration in default-SSL.conf file under the sites-enabled folder

<IfModule mod_ssl.c>
    <VirtualHost _default_:443>
            ServerAdmin [email protected]

            DocumentRoot /var/www/html/qSinav-starter/public

            ErrorLog ${APACHE_LOG_DIR}/error.log
            CustomLog ${APACHE_LOG_DIR}/access.log combined

            SSLEngine on

            SSLCertificateFile      /etc/letsencrypt/live/
            SSLCertificateKeyFile  /etc/letsencrypt/live/
            <FilesMatch ".(cgi|shtml|phtml|php)$">
                            SSLOptions +StdEnvVars
            <Directory /usr/lib/cgi-bin>
                            SSLOptions +StdEnvVars

            SSLProtocol             all -SSLv3 -TLSv1.3
           #SSLHonorCipherOrder     off
           #SSLSessionTickets       off

             <Directory  /var/www/html/qSinav-starter/>
                AllowOverride all
             SSLOptions +StdEnvVars


this configuration is working only with the login page of my system, and then when I doing login it shows me

not secure

I am not sure where the error should be.
thanks in advance

Source: Laravel

Leave a Reply