Closed GopherJ closed 4 years ago
@sfackler Hi, thanks for your reply, I had a look and understood better, the naming of Identity
makes me confused and why it needs password
?
An Identity
is a certificate and private key combined. It can currently only be constructed from a PKCS#12 archive, which requires a password to encrypt the key.
ok I understood, though it's pretty strange that x509 is not supported. thanks for your patience
Hi, is it possible to add ClientConfig like rustls? (cert, private key)
I just found
add_root_certificate
inTlsConnector
https://docs.rs/native-tls/0.2.4/native_tls/struct.TlsConnectorBuilder.html#method.add_root_certificate