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

How to set tls timeout ? #153

Closed
nithinkd-geon opened this issue Mar 29, 2019 · 5 comments
Closed

How to set tls timeout ? #153

nithinkd-geon opened this issue Mar 29, 2019 · 5 comments

Comments

@nithinkd-geon
Copy link

Hello

How to set tls timeout in tls section?

@wallyqs
Copy link
Member

wallyqs commented Mar 29, 2019

Looks like can't right now since the option is missing here...

if cs.TLS.ServerSecret != "" {
sconfig.TLS = &natsconf.TLSConfig{
CAFile: constants.ServerCAFilePath,
CertFile: constants.ServerCertFilePath,
KeyFile: constants.ServerKeyFilePath,
}
}
if cs.TLS.RoutesSecret != "" {
sconfig.Cluster.TLS = &natsconf.TLSConfig{
CAFile: constants.RoutesCAFilePath,
CertFile: constants.RoutesCertFilePath,
KeyFile: constants.RoutesKeyFilePath,
}

@wallyqs
Copy link
Member

wallyqs commented Mar 29, 2019

@nithinkd-geon
Copy link
Author

@wallyqs what should be the default timeout value?

@wallyqs
Copy link
Member

wallyqs commented Mar 29, 2019

@nithinkd-geon
Copy link
Author

@wallyqs thanks

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

No branches or pull requests

2 participants