github.com/nats-io/nats-server/v2@v2.11.0-preview.2/server/configs/tls.conf (about) 1 # Simple TLS config file 2 3 listen: 127.0.0.1:4443 4 5 tls { 6 cert_file: "./configs/certs/server.pem" 7 key_file: "./configs/certs/key.pem" 8 timeout: "2s" 9 } 10 11 authorization { 12 user: derek 13 password: foo 14 timeout: 1 15 }