Page 1 of 1

Chrome has problem with using virtual hosts?!?

PostPosted: 07. January 2018 09:21
by artoo_s
I have a few virtual hosts setup to use with the latest XAMPP and they work great with Firefox but when I try to use Chrome with these virtual host addresses, I'm getting "Your connection is not private" error.

Chrome does allow me to use the addresses "localhost" and "localhost/phpmyAdmin" without any problems.

Has anyone figured out how to set up the latest version of Chrome to work with XAMPP's virtual host addresses such as movieDB.dev that I have set up in the httpd-vhosts.conf configuration file.

Re: Chrome has problem with using virtual hosts?!?

PostPosted: 07. January 2018 12:37
by Altrea
Never had problems with virtual hosts in Chrome.
Did you try to google for “Your connection is not private“?

Re: Chrome has problem with using virtual hosts?!?

PostPosted: 07. January 2018 13:25
by Nobbie

Re: Chrome has problem with using virtual hosts?!?

PostPosted: 07. January 2018 19:16
by artoo_s
Followed what was shown in the videos and still getting the error. Also noticed that I'm getting an error of NET::ERR_CERT_AUTHORITY_INVALID

Re: Chrome has problem with using virtual hosts?!?

PostPosted: 07. January 2018 20:08
by Nobbie
It is Chrome issue anyway and this is NOT a Chrome support forum. It has nothing to do with Xampp or VirtualHosts, thats only a side effect. Good luck, but we cannot solve Chrome problems.

Re: Chrome has problem with using virtual hosts?!?

PostPosted: 05. June 2018 05:57
by binalepuffs
Reason of " connection is not private " error

Wrong date and time
Antivirus block SSL Connection
Invalid Google chrome Cache and Cookies files
Expired SSL certificate
Firewall Error
Browser Error

HOW TO FIX SSL CONNECTION ERROR?

Check your date and time
Exclude SSL protocol scanning in your antivirus settings
Google chrome and Mozilla Firefox browser tweaks
Export and import website’s SSL certificate
System restore your windows in previous date before the SSL connection error occur

http://net-informations.com/q/mis/ssl.html

Re: Chrome has problem with using virtual hosts?!?

PostPosted: 25. June 2018 12:11
by InsiteFX
You need to setup an SSL Certificate and install it then create vhosts to use it

#--------------------------------------------------------------
# HTTP:
#--------------------------------------------------------------
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/ci4modules/public_html"
ServerName ci4modules.local
ServerAlias ci4modules.local
<Directory "C:/xampp/htdocs/ci4modules/public_html">
Order allow,deny
Allow from all
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

#--------------------------------------------------------------
# HTTPS:
#--------------------------------------------------------------
<VirtualHost *:443>
DocumentRoot "C:/xampp/htdocs/ci4modules/public_html"
ServerName ci4modules.local
ServerAlias ci4modules.local
SSLEngine on
SSLCertificateFile "conf/ssl.crt/server.crt"
SSLCertificateKeyFile "conf/ssl.key/server.key"
<Directory "C:/xampp/htdocs/ci4modules/public_html">
Options All
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

Change everything for you setup

Chrome will still error but click advance and tell it to use anyways.