test(e2e): add TLS listener rejectUnknownSNI test suite

Covers rejectUnknownSNI with and without a serverNames allow list,
verifying allowed/unknown/empty SNI handshakes via openssl s_client.
This commit is contained in:
ginuerzh
2026-07-16 20:53:30 +08:00
parent a8bd4a5f16
commit fa815bf4a0
4 changed files with 114 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
services:
- name: tls-reject
addr: :8443
handler:
type: http
listener:
type: tls
tls:
rejectUnknownSNI: true
serverNames:
- example.com