Unable to switch to https in Chrome/Firefox
-
I have recently installed laragon 3.1.8 and created a laravel app on 'lara-blog.oo' from Quick create but getting this error when go to https://lara-blog.oo
NET::ERR_CERT_COMMON_NAME_INVALID
I have added auto generated certificate in both chrome and firefox but still no luck!
Does anyone here have any idea how to resolve this issue? What if we follow below instructions to create myself a CA
see below link: https://deliciousbrains.com/ssl-certificate-authority-for-local-https-development/
-
@harry-potter said in Unable to switch to https in Chrome/Firefox:
I have recently installed laragon 3.1.8 and created a laravel app on 'lara-blog.oo' from Quick create but getting this error when go to https://lara-blog.oo
NET::ERR_CERT_COMMON_NAME_INVALID
I have added auto generated certificate in both chrome and firefox but still no luck!
Does anyone here have any idea how to resolve this issue? What if we follow below instructions to create myself a CA
see below link: https://deliciousbrains.com/ssl-certificate-authority-for-local-https-development/
@leokhoa i'd appreciate if you look into this
-
@harry-potter :
You can check @YummyTofu's post:
https://forum.laragon.org/topic/770/update-auto-generated-ssl-certificatesIn the meantime, I don't have time to make a permanent fix for it.
-
@leokhoa
I followed his post and was able to regenerate working certificate.
Imported it into chrome and voila!It's working great. Had to modify the command a bit cos I didn't know where the certificates are storing.
openssl req -config "D:\laragon\bin\apache\httpd-2.4.27-win64-VC14\conf\openssl-custom.cnf" -new -sha256 -newkey rsa:2048 -nodes -keyout "D:\lara-blog.oo.key" -x509 -days 365 -out "D:\lara-blog.oo.crt" -subj "/C=SG/ST=Singapore/L=Singapore/O=Laragon/OU=IT/CN=lara-blog.oo"
Not asking for an ETA or anything cos what you have contributed is already more than enough!
Really appreciate what you are doing for this community. And that for free!!God bless you my man.
-
@harry-potter :
I'm glad to hear you solved the issue
Cheers!!!