Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADDED] LeafNode: TLSHandshakeFirst option (#4119)
A new field in `tls{}` blocks force the server to do TLS handshake before sending the INFO protocol. ``` leafnodes { port: 7422 tls { cert_file: ... ... handshake_first: true } remotes [ { url: tls://host:7423 tls { ... handshake_first: true } } ] } ``` Note that if `handshake_first` is set in the "accept" side, the first `tls{}` block in the example above, a server trying to create a LeafNode connection to this server would need to have `handshake_first` set to true inside the `tls{}` block of the corresponding remote. Configuration reload of leafnodes is generally not supported, but TLS certificates can be reloaded and the support for this new field was also added. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
- Loading branch information
Showing
5 changed files
with
250 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.