© Waldemar Quevedo 2018
Waldemar QuevedoPractical NATShttps://doi.org/10.1007/978-1-4842-3570-6_8

8. Securing NATS

Waldemar Quevedo1 
(1)
San Francisco, California, USA
 

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.

In this chapter, you will learn:
  • 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

Get Practical NATS: From Beginner to Pro now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.