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

Fixed the initial nodes expander - option #2 #31

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

barshaul
Copy link

@barshaul barshaul commented Aug 30, 2023

This option doesn't break the user facing API.

Fixed the initial nodes expander to return the socketAddr object and maintain the provided hostname, for TLS hostname verifications.
The Subject Alternative Name (SAN) is an extension to the X.509 specification that allows users to specify additional host names for a single SSL certificate. In ElastiCache cluster TLS certificate there is a subject name containing the suffix of the cluster name, e.g.: *.barshaul-babushka-standalone-test-tls.ez432c.use1.cache.amazonaws.com. When we expand the DNS endpoint to multiple node addresses, we shall save the provided hostname in order to be able to verify the node with the TLS cert.

…maintain the provided hostname, for TLS hostname verifications.
@barshaul barshaul changed the title Fixed the initial nodes expander to return the socketAddr object and maintain the provided hostname, for TLS hostname verifications. Fixed the initial nodes expander - option #2 Aug 30, 2023
@barshaul barshaul requested a review from nihohit August 30, 2023 12:52
@barshaul barshaul merged commit dcbbc21 into amazon-contributing:main Aug 31, 2023
9 checks passed
@barshaul barshaul deleted the fix_tls_option2 branch August 31, 2023 09:22
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

Successfully merging this pull request may close these issues.

2 participants