Skip to content

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