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

[FIXED] TLS: default ciphers not set when tls enabled from command line #2167

Merged
merged 1 commit into from Apr 29, 2021

Conversation

kozlovic
Copy link
Member

If running the server with command lines:

nats-server --tlsverify --tlscert "cert.pem" --tlskey "key.pem"

the default ciphers would not be set, however, they would using this
equivalent config:

tls: {
   verify: true
   cert_file: "cert.pem"
   key_file: "key.pem"
}

Reported by @DavidSimner

Signed-off-by: Ivan Kozlovic ivan@synadia.com

If running the server with command lines:
```
nats-server --tlsverify --tlscert "cert.pem" --tlskey "key.pem"
```
the default ciphers would not be set, however, they would using this
equivalent config:
```
tls: {
   verify: true
   cert_file: "cert.pem"
   key_file: "key.pem"
}
```

Reported by @DavidSimner

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

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

LGTM

@kozlovic kozlovic merged commit 2fd8962 into master Apr 29, 2021
@kozlovic kozlovic deleted the fix_tls_cmdline_ciphers branch April 29, 2021 21:51
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