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

Check that the server certificate CN matches the instance name #1995

Closed
hessjcg opened this issue May 22, 2024 · 0 comments · Fixed by #2017
Closed

Check that the server certificate CN matches the instance name #1995

hessjcg opened this issue May 22, 2024 · 0 comments · Fixed by #2017
Assignees
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@hessjcg
Copy link
Collaborator

hessjcg commented May 22, 2024

Feature Description

During the TLS authentication, the server certificate CN field should match the instance name. Add a custom TrustManager that will check the CN field and reject it if the name does not match the instance name.

@hessjcg hessjcg added priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels May 22, 2024
@hessjcg hessjcg self-assigned this May 22, 2024
hessjcg added a commit that referenced this issue May 22, 2024

Verified

This commit was signed with the committer’s verified signature.
jviau Jacob Viau
hessjcg added a commit that referenced this issue May 24, 2024

Verified

This commit was signed with the committer’s verified signature.
jviau Jacob Viau
… of #1995
hessjcg added a commit that referenced this issue May 29, 2024
)

Update our tests so that the keys and certificates are generated at test time. This will make TLS tests more flexible
and easier to update.

Part of #1995
@hessjcg hessjcg closed this as completed in 9346117 Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant