mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-14 02:07:59 -07:00
We would get failures on Travis, I would think because of small TLS timeout. Increase (or set) the TLS timeout to 2 seconds in most configuration files. Update tests that relied on the original value.
19 lines
388 B
Plaintext
19 lines
388 B
Plaintext
|
|
# Simple TLS config file
|
|
|
|
port: 4443
|
|
net: localhost
|
|
|
|
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
|
|
}
|