我有一台服务器,同时运行 2 个 Magento 站点。站点 1 在 SSL 下工作正常,而站点 2 每当我访问它时都会返回错误。
我尝试使用 cURL 测试该网站:
curl -v https://example2-domain.com/
Run Code Online (Sandbox Code Playgroud)
cURL 抛出此错误:
* Trying 97.74.223.135...
* TCP_NODELAY set
* Connected to example2-domain.com (97.74.233.135) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* (304) (OUT), TLS handshake, Client hello (1):
* error:1408F10B:SSL routines:ssl3_get_record:wrong version number
* stopped the pause stream!
* Closing connection 0
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number …Run Code Online (Sandbox Code Playgroud)