# Cluster Server B listen: 127.0.0.1:5224 cluster { listen: 127.0.0.1:5246 tls { # Route cert cert_file: "./configs/certs/srvb-cert.pem" # Private key key_file: "./configs/certs/srvb-key.pem" # Specified time for handshake to complete timeout: 2 # Optional certificate authority verifying connected routes # Required when we have self-signed CA, etc. ca_file: "./configs/certs/ca.pem" } # Routes are actively solicited and connected to from this server. # Other servers can connect to us if they supply the correct credentials # in their routes definitions from above. routes = [ nats-route://127.0.0.1:5244 ] }