improved tls middleware revocation checks (#3034)

This commit is contained in:
mmetc 2024-06-26 10:41:30 +02:00 committed by GitHub
parent 3097c0ce90
commit a3bd9baec1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 850 additions and 471 deletions

View file

@ -281,7 +281,7 @@ def test_tls_client_ou(crowdsec, flavor, certs_dir):
lapi.wait_for_http(8080, '/health', want_status=None)
with cs_agent as agent:
lapi.wait_for_log([
"*client certificate OU (?custom-client-ou?) doesn't match expected OU (?agent-ou?)*",
"*client certificate OU ?custom-client-ou? doesn't match expected OU ?agent-ou?*",
])
lapi_env['AGENTS_ALLOWED_OU'] = 'custom-client-ou'