Support for TLS Authentication
In the current pulsar crate, it is mentioned as a feature: TLS connection,
but when using fn with_auth() of the Struct pulsar::producer::Producer::Builder, it does not support TLS Authentication.
The current Authentication support:pub struct Authentication { /// Authentication kid. Use "token" for JWT pub name: String, /// Authentication data pub data: Vec<u8>, }
coming from connection.rs of the crate
Is there a way to use a TLS Authentication method, because there is no clear way to do so as for now
@jmanno01 could you elaborate on what TLS Authenticatin means? 'with_certificate_chain()' method should be used for tls authentication for the client. Authentication in the crate refers to "authenticating" user such as jwt or Oauth2
The client being able to validate the server certificate is already supported through with_certificate_chain(). But the client still can't provide it's certificate and private key to the server.