Add new test for TLS mutual authentication

This commit is contained in:
2022-09-02 10:57:53 +02:00
parent 019ae92605
commit 4f89bc06a0
6 changed files with 134 additions and 16 deletions

View File

@ -50,7 +50,7 @@ impl ClientConfig {
self._keys_cache = KeysCache {
_root_certificate_cache: load_pem_file(&self.root_certificate, "root certificate")?,
_tls_cert_cache: load_pem_file(&self.tls_cert, "client certificate")?,
_tls_key_cache: load_pem_file(&self.tls_cert, "client key")?,
_tls_key_cache: load_pem_file(&self.tls_key, "client key")?,
};
Ok(())
}