pub fn client_certificate_verifier(
ca_chain: &[CertificateDer<'static>],
) -> Result<Arc<dyn ClientCertVerifier>, String>Expand description
Builds a client certificate verifier that trusts only the first certificate of ca_chain,
the private CA that issues client certificates, so a client may send its leaf certificate
without the chain. The rest of the chain is not trusted, because other CAs under the same
root could issue Feldera identities. Clients without a certificate may connect, so that
they get an actionable 401 or reach routes open to everyone.