diff --git a/t/002-upstream-tls.t b/t/002-upstream-tls.t index 3abdec19..46d95cfc 100644 --- a/t/002-upstream-tls.t +++ b/t/002-upstream-tls.t @@ -543,7 +543,7 @@ GET /t .+502 Bad Gateway.+ --- error_log -upstream SSL certificate verify error: (22:certificate chain too long) +upstream SSL certificate verify error: (20:unable to get issuer certificate) --- error_code: 502 --- no_error_log diff --git a/t/stream/001-upstream-tls.t b/t/stream/001-upstream-tls.t index 93475293..04597d99 100644 --- a/t/stream/001-upstream-tls.t +++ b/t/stream/001-upstream-tls.t @@ -555,7 +555,7 @@ upstream SSL certificate verify error: (20:unable to get local issuer certificat receive stream response error: connection reset by peer --- error_log -upstream SSL certificate verify error: (22:certificate chain too long) +upstream SSL certificate verify error: (20:unable to get issuer certificate) --- skip_nginx 3: < 1.21.4