get.pme.sh/pnats@v0.0.0-20240304004023-26bb5a137ed0/test/configs/srv_b_tls.conf (about) 1 # Cluster Server B 2 3 listen: 127.0.0.1:5224 4 5 cluster { 6 listen: 127.0.0.1:5246 7 name: xyz 8 9 tls { 10 # Route cert 11 cert_file: "./configs/certs/srvb-cert.pem" 12 # Private key 13 key_file: "./configs/certs/srvb-key.pem" 14 # Specified time for handshake to complete 15 timeout: 2 16 17 # Optional certificate authority verifying connected routes 18 # Required when we have self-signed CA, etc. 19 ca_file: "./configs/certs/ca.pem" 20 } 21 22 # Routes are actively solicited and connected to from this server. 23 # Other servers can connect to us if they supply the correct credentials 24 # in their routes definitions from above. 25 26 routes = [ 27 nats-route://127.0.0.1:5244 28 ] 29 } 30 31 no_sys_acc: true