Added support for wildcard usage in x509 SubjectAltName identification.#68236
Conversation
…dentification (both DNS and URI).
|
This proposal requires security evaluation. |
|
Hi all - thank you for tagging me, @yakov-olkhovskiy . While this is more about implementation details, i did take a quick look through RFC anyway just in case and don't see any specific clause about how to implement it. The implementation adds more flexibility in managing endpoints communicating with Clickhouse servers when performing the same task, making it easier to manage certificates. It does add some challenge from security that we should at least make a note about it in the documentation:
But overall, i think it's a nice feature to have :) |
|
@yakov-olkhovskiy @santrancisco any update please? What can be done from our side (mine and @marco-vb's) to get this PR tested? Thank you |
tests/integration/test_ssl_cert_authentication/certs/ca-cert.pem
Outdated
Show resolved
Hide resolved
f55f063 to
5472767
Compare
|
This is an automated comment for commit 185d940 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
|
hey @yakov-olkhovskiy thank you for reviewing these and testing. Does this approach look good to you overall? Is it okay to merge? Not sure about the red checks, seems like some mutation tests are not passing and not sure about the performance ones, as my change should not impact query performance. |
|
@marco-vb flaky test is failing: |
|
@yakov-olkhovskiy thanks again for taking a look and fixing things. Now CI complains that 'New settings are not reflected in settings changes history' even though I do not add nor change any settings in this PR... Do you know why this is happening? This was also happening before I updated with new master commits too |
|
I don't think it's relevant. Merging. |
Added support for single wildcard usage in x509 SubjectAltName, supports both DNS and URI.
With this change, a user can be defined as:
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Add wildcard support for user identification in x509 SubjectAltName extension.
Documentation entry for user-facing changes
CI Settings (Only check the boxes if you know what you are doing):