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 support for overriding server name #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MikailBag
Copy link

Original case: kube-rs/kube#991

This PR adds setting server_name which can be explicitly configured by user. When this setting is set, it is passed as-is to openssl instead of parsing URL.

@goenning
Copy link

goenning commented Apr 5, 2023

I'm also interested on this, any chance we can get this merged & released @sfackler ?

/// verify that server certificate includes this value.
///
/// If this function is called, provided `server_name` will be used instead,
/// and URL will not affect certificate veritication.
Copy link
Owner

Choose a reason for hiding this comment

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

This should document that it'll also be sent out in the SNI extension

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.

3 participants