Skip to content

Are there benefits to be gained performance-wise by using the same encryption/decryption mechanism when clients communicate via messages sent-to/received-from the same nats server? #2740

Answered by tbeets
dsidirop asked this question in Q&A
Discussion options

You must be logged in to vote

NATS does not do encrypt/decrypt at the NATS Protocol [1] (Layer 7) level as in your assumption. "On the wire" NATS does fully support TLS with NATS clients [2]. As TLS terminates at a NATS server, in affect, NATS is playing a pattern as in Scenario 1 (i.e. 1..N subscribing NATS Clients have independent TLS connections and keys).

[1] https://docs.nats.io/reference/reference-protocols/nats-protocol#client-protocol
[2] https://docs.nats.io/using-nats/developer/security/tls

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dsidirop
Comment options

Answer selected by dsidirop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants