forked from mtusi2026/mtusi2026lab7
25 lines
545 B
Plaintext
25 lines
545 B
Plaintext
|
|
=== Testing api1 mTLS ===
|
|
[1] Authorized LB certificate
|
|
{"status":"ok"}
|
|
[2] No client certificate
|
|
PASS: no certificate rejected
|
|
[3] Untrusted CA certificate
|
|
PASS: rogue CA rejected
|
|
[4] Trusted CA, forbidden SAN
|
|
HTTP 403
|
|
PASS: api1 mTLS identity enforcement
|
|
|
|
=== Testing api2 mTLS ===
|
|
[1] Authorized LB certificate
|
|
{"status":"ok"}
|
|
[2] No client certificate
|
|
PASS: no certificate rejected
|
|
[3] Untrusted CA certificate
|
|
PASS: rogue CA rejected
|
|
[4] Trusted CA, forbidden SAN
|
|
HTTP 403
|
|
PASS: api2 mTLS identity enforcement
|
|
|
|
PASS: all mTLS tests passed
|