nats-tls-test

command module
v0.0.0-...-ab4826b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2020 License: Unlicense Imports: 14 Imported by: 0

README

This project showcases how to setup a NATS Server Cluster with mutual TLS authentication. Although this is explained in the NATS documentation, the cluster in this project assumes that each node has a certificate under their own branch under the shared root CA:

setup

The main.go application is used to generate the certificate structure and keys.

Starting

To start server A and server B:

nats-server -config nats/server1.txt &
nats-server -config nats/server2.txt &

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL