Skip to content
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

Unable to use Mutual TLS connection #127

Open
kishorek-0507 opened this issue Mar 13, 2025 · 1 comment
Open

Unable to use Mutual TLS connection #127

kishorek-0507 opened this issue Mar 13, 2025 · 1 comment

Comments

@kishorek-0507
Copy link

we are trying to use latest 0.62.0 version library and needs some clarification on the usage of TLS connection.
I don't see any example on the usage of creating a TlsStrategy .
Basicallly when TLS is enabled certifcates shall be passed along with the role and secretId(which can be constructed using the AppRoleStrategy)
Here we are not able to understand how to use the combination of both AppRoleStrategy and TlsStrategy objects in order to use a tls connection.
If we just pass AppRoleStrategy object login is failing as mutual TLS is enabled at server.
if we just pass TlsStrategy object then also it fails as roleId and secretId info is not present in TlsStrategy object.
On a high level, Can you please clarify How to use the library when mutual tls is enabled.

@abedra
Copy link
Owner

abedra commented Mar 23, 2025

I'm not sure I understand your question. Do you have an example you can share?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants