如何解决持续存在的ERR_SSL_PROTOCOL_ERROR和错误请求错误400?

时间:2019-01-09 07:01:32

标签: apache openssl xampp

我正在尝试从同一网络中的另一个部门访问我的网站。该网站具有一项特定功能,该功能不允许任何用户在不安全的连接中使用它,从而使我着眼于启用我的SSL和虚拟主机。以下是我在配置中所做的更改。

httpd-ssl.conf

Listen 4443
<VirtualHost _default_:4443>
#   General setup for the virtual host
DocumentRoot "C:/xampp/htdocs"
ServerName 192.168.43.148:4443
ServerAdmin admin@example.com
ErrorLog "C:/xampp/apache/logs/error.log"
TransferLog "C:/xampp/apache/logs/access.log"

#   SSL Engine Switch:
#   Enable/Disable SSL for this virtual host.
SSLEngine on

httpd.conf

Listen 8081
ServerName 192.168.43.148:8081

httpd-xampp.conf

<Directory "C:/xampp/phpMyAdmin">
AllowOverride AuthConfig
Require all granted
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</Directory>

我在Windows 10上使用xamppv3.2.2; 我只想以安全的方式访问我的网站,而不必购买,因为它只是出于测试目的。

0 个答案:

没有答案