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

Add fallback to password auth after failed SSL auth #48989

Merged
merged 2 commits into from Apr 21, 2023

Conversation

evillique
Copy link
Member

@evillique evillique commented Apr 20, 2023

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Add fallback to password authentication when authentication with SSL user certificate has failed. Closes #48974

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-improvement Pull request with some product improvements label Apr 20, 2023
@evillique evillique changed the title Fallback to password auth after failed SSL auth Add fallback to password auth after failed SSL auth Apr 20, 2023
@alexey-milovidov alexey-milovidov marked this pull request as draft April 21, 2023 10:53
@alexey-milovidov
Copy link
Member

Converted to draft before the changelog entry will be filled.

@alexey-milovidov alexey-milovidov self-assigned this Apr 21, 2023
@alexey-milovidov
Copy link
Member

Missing test.

assert "UNKNOWN_CA" in str(err.value)


def test_native_fallback_to_password():
Copy link
Member Author

@evillique evillique Apr 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reeordered things a bit, the new test is here

@alexey-milovidov alexey-milovidov marked this pull request as ready for review April 21, 2023 18:42
@alexey-milovidov alexey-milovidov merged commit ded4b17 into ClickHouse:master Apr 21, 2023
254 of 258 checks passed
@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Apr 21, 2023
@evillique evillique deleted the fix-ssl branch April 21, 2023 19:03
evillique added a commit that referenced this pull request Apr 22, 2023
Backport #48989 to 23.3: Add fallback to password auth after failed SSL auth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-improvement Pull request with some product improvements v23.3-must-backport
Projects
None yet
4 participants