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

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


The following commit(s) were added to refs/heads/master by this push:
     new 7b4bbba6b test: reject bad client TLS request in handshake (#6941)
7b4bbba6b is described below

commit 7b4bbba6b9a62a10d41c2a93e386eab98b138de3
Author: 罗泽轩 <[email protected]>
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

Reply via email to