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 an option to tctl to override server name for TLS host verification #889

Merged
merged 2 commits into from
Oct 22, 2020

Conversation

sergeybykov
Copy link
Member

What changed?
Added an option for tctl to override server name for TLS host verification.

Why?
When tctl connects to frontend over mTLS, the target server address or host name may differ from the CN in the server certificate, and that fails server host verification. This option allows tctl to specify the expected CN of the server it is connecting to.

How did you test it?
Manually verified that tctl is able to successfully connect to server by specifying --tls_server_name option where before it was failing to connect.

Potential risks
No risk. This is an optional flag.

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.

None yet

2 participants