oa_gateway_testing::tls

Function server_tls_with_client_ca

Source
pub fn server_tls_with_client_ca(
    certs: &TestCerts,
    client_ca: &TestCa,
) -> ServerTls
Expand description

As server_tls, but also requires and verifies a client certificate issued by client_ca.

ยงPanics

Panics if certs/client_ca does not parse.