Files
nats-server/test/configs/tls.conf
Derek Collison 3b953ce838 Allow localhost to not be defined, only need 127.0.0.1
Signed-off-by: Derek Collison <derek@nats.io>
2018-06-28 16:10:19 -07:00

21 lines
332 B
Plaintext

# Simple TLS config file
listen: 127.0.0.1:5443
https: 11522
tls {
# Server cert
cert_file: "./configs/certs/server-cert.pem"
# Server private key
key_file: "./configs/certs/server-key.pem"
# Specified time for handshake to complete
timeout: 2
}
authorization {
user: derek
password: monkey
timeout: 1
}