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

config should accept tls-client-cert #75

Merged
merged 3 commits into from
Aug 21, 2014
Merged

Conversation

mreiferson
Copy link
Member

no way to specify TLS client certificate via Set (aka --reader-opt)

@mreiferson mreiferson added the bug label Aug 20, 2014
@mreiferson
Copy link
Member Author

RFR @jehiah

}

func (t *tlsConfig) HandlesOption(c *Config, option string) bool {
switch option {
case "tls-root-ca-file", "tls-insecure-skip-verify":
case "tls-root-ca-file", "tls-insecure-skip-verify", "tls-cert", "tls-key":
Copy link
Member

Choose a reason for hiding this comment

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

Can you document these in comments somewhere in the Config struct which is where we documented all the rest?

Copy link
Member Author

Choose a reason for hiding this comment

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

yep, good call

@jehiah
Copy link
Member

jehiah commented Aug 21, 2014

LGTM aside from config docs

@mreiferson
Copy link
Member Author

updated and squished in

jehiah added a commit that referenced this pull request Aug 21, 2014
config should accept tls-client-cert
@jehiah jehiah merged commit 2dc117c into nsqio:master Aug 21, 2014
@mreiferson mreiferson deleted the tls_opts_75 branch September 6, 2014 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants