针对你提出的“nginx ssl_do_handshake() failed”问题,我们可以从以下几个方面进行排查和解决: 1. 确认nginx版本和配置 首先,确保你使用的nginx版本支持SSL/TLS。你可以通过运行nginx -V命令来检查nginx的版本和编译时包含的模块,特别是--with-http_ssl_module选项,它表示nginx是否包含了SSL支持。 然后,检查nginx...
2022/11/22 00:41:56 [crit] 2335881#2335881: *1958315 SSL_do_handshake() failed (SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking, client: 152.32.241.234, server: 0.0.0.0:443 2022/11/22 04:39:15 [crit] 2335881#2335881: *1960441 SSL_do...
proxy_ssl_server_nameon; proxy_ssl_session_reuseoff; 2024/02/0410:32:57[error]1054672#0: *1786SSL_do_handshake() failed (SSL:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:SSL alert number40)whileSSL handshakingtoupstream, client:172.69.134.185, server: xxxx.xxxx....
NGINX SSL_do_handshake() failed 报错处理 nginx 添加配置如下: proxy_ssl_server_name on; proxy_ssl_session_reuse off; 1. 2.
image nginx做正向代理https遇到502错误返回,查看nginx的错误日志发现有大量的此类错误 SSL_do_handshake()failed(SSL:error:14094085:SSLroutines:ssl3_read_bytes:ccs received early)while SSL handshaking,client:52.81.99.160 解决方法是在nginx配置文件location一栏中增加: ...
nginx做正向代理https遇到502错误返回,查看nginx的错误日志发现有大量的此类错误 解决方法是在nginx配置文件location一栏中增加:然后重启nginx
从log 看应该是SSL的问题,最终修改配置如下: location @remote { proxy_cache_valid 200 1y; add_header Nginx-Cache "$upstream_cache_status"; proxy_cache remote_cache; proxy_pass https://remote.example.com; proxy_ssl_session_reuse off;
1. SSL证书错误 错误示例: SSL_do_handshake() failed (SSL: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate) 原因: 证书文件损坏或不完整。 证书链不正确或缺少中间证书。 使用的证书与域名不匹配。 解决方法: 确认证书文件完整,没有损坏。
日志抬上来,ssl失败,那我不用https不就行了,proxy_pass 代理换成http的后,果然可以访问! 继续找问题,日志中有看到将域名解析成ip。ssl在握手时,默认不发送主机名,以ip连接服务器,当服务器上有多个虚拟主机使用同一个ip时,默认返回第一个可用证书,这样就导致证书无法匹配。出现ssl握手失败 nginx有提供出现这种问题...
2023/07/07 00:03:56 [error] 29533#29533: *115403747 SSL_do_handshake() failed (SSL: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:SSL alert number 40) while SSL handshaking to upstream, client: 192.168.73.157, server: localhost, request: "HEAD /modules/abm/...