Https not working


  • | 258 points

    Hi friends,

    I am new using Laragon and I have installed a laravel project named as blog, then I can log into this project using blog.dev, however I can't use https://blog.dev.

    I am using windows 10 with last versión of Laragon complete download (wamp).

    Set up:

    • Apache 80/443
    • Mysql 3306

    I modified the file httpd-ssl.conf
    Route: c:/laragon/bin/apache/httpd-2.4.27-win64... conf/extra/httpd-ssl.conf

    <VirtualHost *:443>

    DocumentRoot "c:/laragon/www/blog"
    ServerName blog.dev
    ServerAdmin admin@example.com
    ErrorLog "c:/laragon/logs/error.log"
    TransferLog "c:/laragon/logs/access.log"

    SSLEngine on

    SSLCertificateFile "c:/laragon/etc/ssl/blog.dev.crt"
    SSLCertificateKeyFile "c:/laragon/etc/ssl/blog.dev.key"

    ....

    </VirtualHost>

    Also I modified the file: httpd.conf
    Route: c:/laragon/bin/apache/httpd-2.4.27-win64... conf/httpd.conf

    I uncommented the instrucction: LoadModule ssl_module modules/mod_ssl.so

    I have tried to set with Ngnix but new errors appear: ERR_CONNECTION_REFUSED...


  • | 2763 points

    Good day!
    As you know, Winds 10 has problems with permissions to access files and folders.
    You need to check if all the files (specified in the configuration) and the folders exist and have the necessary permissions - its first what comes to head

    For additional see wiki: https://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.