Files
nats-server/test/configs/srv_b_tls.conf
2015-12-16 12:36:24 -08:00

33 lines
747 B
Plaintext

# Copyright 2012-2015 Apcera Inc. All rights reserved.
# Cluster Server B
host: '127.0.0.1'
port: 4224
cluster {
host: '127.0.0.1'
port: 4246
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:4244
]
}