mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-14 18:20:42 -07:00
18 lines
385 B
Plaintext
18 lines
385 B
Plaintext
|
|
# Simple TLS config file
|
|
|
|
listen: localhost:4443
|
|
|
|
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
|
|
# Optional certificate authority for clients
|
|
ca_file: "./configs/certs/ca.pem"
|
|
# Require a client certificate
|
|
verify: true
|
|
}
|