In the early chapters of this book, we mentioned that NATS has as its main core values not only simplicity and performance but also security. The NATS project values ease of use a lot, and protocol being in plain text helps a lot for debugging and inspecting raw traffic without many complications, but these benefits lose value unless we can have our setup secure against attacks from bad actors.
How NATS handles secure connections to the server
How to set up TLS for clients to connect securely to the server
How to set up TLS for a NATS clustering setup