if you want to use https://localhost
you can edit this file
then add virtual host to detect port 443 (ssl)
Require all granted
SSLEngine on SSLCertificateFile C:/laragon/etc/ssl/laragon.crt SSLCertificateKeyFile C:/laragon/etc/ssl/laragon.key
the setting above might need to be adjusted to your setup.
But not sure if you want https on port 8000, maybe you can change the port to 8000 for ssl and possibly require more adjustment on another ssl setting.
@Muhammad-Yousaf : Why did you use
php artisan serve? It will not work.
From the image, your Apache still served on port
443, just change the HTTPS port in Menu > Ports & Services to
Actually I have to use facebook oauth api to login the users. but every time i make a call they send an error "Insecure login blocked" this is due to i'm sending the request from "HTTP" and not "HTTPS". That is the reason I have to change my url from "http://localhost" to "https://localhost"
I 've don the steps
but still there are some problems and it is not working properly.
@Muhammad-Yousaf : Chrome may cache wrong cert. Just try another browser.
If it doesn't work, try Menu > Apache > SSL > Add to Trust Store
Now it is also giving me this ERROR . The httpd-ssl conf file is as
Thanks alot you guys. finally I have done it. Actually I was using laragon in really old fashion way like wamp or xammp by running ('PHP artisan serve') but in the en finally i get it. Laragon is really cooool !!!!!!!!!!!
@Muhammad-Yousaf : I am so glad to hear you sorted it out!
Yes, you'll find no system is easy to like Laragon - especially the SSL feature : )