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

feat: skip tls when making connection #934

Closed
wants to merge 1 commit into from

Conversation

amagow-ct
Copy link

Add option to skip tls when making nats connection

Add option to skip tls when making nats connection
@@ -354,6 +355,10 @@ func natsOpts() []nats.Option {
connectionName = "NATS CLI Version " + Version
}

if opts.SkipTls {
copts = append(copts, nats.Secure(&tls.Config{InsecureSkipVerify: true}))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would this not break specifying certificates ca etc? or are those handled by nats.go and added to this tlsc?

@ripienaar
Copy link
Collaborator

Will close this for now as it's old and out dated after no response

@ripienaar ripienaar closed this Apr 30, 2024
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