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

[NEW] Take username from client certificate #1866

Open
zuiderkwast opened this issue Mar 20, 2025 · 0 comments
Open

[NEW] Take username from client certificate #1866

zuiderkwast opened this issue Mar 20, 2025 · 0 comments

Comments

@zuiderkwast
Copy link
Contributor

The problem/use-case that the feature addresses

Avoid managing user passwords for ACL when we already use TLS with mutual authentication.

When password rotation is required and also certificate rotation is required, it becomes complex to rotate both of them.

Description of the feature

The server can take the username from the client's certificate, the comman name (CN=username) field. It seems to be common practice.

When this field matches an existing user, the client gets authenticated as this user as if the AUTH command had been used.

Alternatives you've considered

Use AUTH or HELLO and manage passords and do password rotation for each user, in addition to TLS certificates rotations.

Additional information

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

1 participant