我目前使用 Dev Desktop 作为我的本地开发环境。一切正常,直到我将 ssl 代码片段输入到我的 ht 访问文件中,这是使网站 https 所需的。
# Redirect HTTP to HTTPS
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301
]
现在,当我尝试打开本地站点时,我收到以下错误:
SSL connection error
Hide details
Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
Error code: ERR_SSL_PROTOCOL_ERROR
有谁知道如何解决这一问题?谢谢你。
亲切的问候,艾斯林