Files
nats-server/test/configs/srv_b_tls.conf
2018-03-15 22:31:07 -07:00

29 lines
677 B
Plaintext

# 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
]
}