我想首次在xampp中创建虚拟主机,使其在边缘浏览器中有效,但在chrome中不可用!它说
This site can’t provide a secure connection
alihossein.dev doesn't adhere to security standards.
ERR_SSL_SERVER_CERT_BAD_FORMAT
甚至我尝试了此解决方案chrome://flags/#allow-insecure-localhost
。
我将此代码添加到httpd-vhosts.conf
..
<VirtualHost *:80>
ServerAdmin webmaster@alihossein.dev
DocumentRoot "F:/xampp/htdocs/tamrin/"
ServerName alihossein.dev
ServerAlias www.alihossein.dev
ErrorLog "logs/alihossein.dev-error.log"
CustomLog "logs/alihossein.dev-access.log" common
</VirtualHost>
,并将此代码保存到hosts
127.0.0.1 alihossein.dev
我该怎么办?