You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2022/05/18 09:30:33 UTC

[apisix] 05/05: test: reject bad client TLS request in handshake (#6941)

This is an automated email from the ASF dual-hosted git repository.

spacewander pushed a commit to branch release/2.13
in repository https://gitbox.apache.org/repos/asf/apisix.git

commit e95da89064b5762f04ef61ad98990ccc8577d69c
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Wed Apr 27 11:25:34 2022 +0800

    test: reject bad client TLS request in handshake (#6941)
---
 t/node/client-mtls.t | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/t/node/client-mtls.t b/t/node/client-mtls.t
index b1cd22581..afccc9375 100644
--- a/t/node/client-mtls.t
+++ b/t/node/client-mtls.t
@@ -244,9 +244,9 @@ GET /t
 GET /mtls2
 --- more_headers
 Host: localhost
---- error_code: 400
+--- error_code: 502
 --- error_log
-client certificate was not present
+peer did not return a certificate
 
 
 
@@ -301,6 +301,6 @@ GET /t
 GET /mtls3
 --- more_headers
 Host: localhost
---- error_code: 400
+--- error_code: 502
 --- error_log
-client certificate verification is not passed: FAILED:self signed certificate
+certificate verify failed