-
Notifications
You must be signed in to change notification settings - Fork 125
Support for TLS Authentication #197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@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(). |
@lhotari the linked PR is from a colleague of mine who had implemented it for our internal use, can we anyone to review and merge it? |
In the current
pulsar crate
, it is mentioned as a feature:TLS connection
,but when using
fn with_auth()
of theStruct pulsar::producer::Producer::Builder
, it does not supportTLS 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 crateIs there a way to use a
TLS Authentication
method, because there is no clear way to do so as for nowThe text was updated successfully, but these errors were encountered: