在我启用SSL之前,我的设置工作得很好。
这
starman -p 3001 app.psgi工作正常,但如下所示:
starman --enable-ssl --ssl-cert a.crt --ssl-key a.key -p 3001 app.psgi不会-生成此错误:
Could not finalize SSL connection with client handle (SSL accept attempt failed error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request) 对每一个请求。
在AWS的Ubuntu 16.04.2 LTS上的perl 5,version 22,subversion 1上运行
端口似乎是转发的,ok:
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination
1 REDIRECT tcp -- anywhere anywhere tcp dpt:https redir ports 3001
2 REDIRECT tcp -- anywhere anywhere tcp dpt:https redir ports 3001
3 REDIRECT tcp -- anywhere anywhere tcp dpt:http-alt redir ports 3001
4 REDIRECT tcp -- anywhere anywhere tcp dpt:http redir ports 3001发布于 2018-01-16 17:16:36
无法使用客户端句柄完成SSL连接(SSL接受尝试失败错误:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http请求)
这表示客户端发送的是HTTP请求,而不是预期的HTTPS请求。请检查客户端使用的所有网址-它们都应该是https://,而不是http://,因为您将服务器设置为只能通过HTTPS访问。
发布于 2020-12-23 22:05:22
我遇到过这样的问题,通过从debian apt repo安装python-certbot-apache解决了这个问题。
但现在我有了另一个问题:
无法使用/etc/letsencrypt/live/..domain_here../cert.pem套接字:权限在/usr/local/share/perl/5.28.1/IO/ SSL_cert_file /SSL.IO第2375行被拒绝。
chown of dir无济于事。
https://stackoverflow.com/questions/48275426
复制相似问题