Files
nats-server/server/configs/tls_bad_cipher.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

18 lines
354 B
Plaintext

# Simple TLS config file
listen: 127.0.0.1:4443
tls {
cert_file: "./configs/certs/server.pem"
key_file: "./configs/certs/key.pem"
timeout: 2
# this should generate an error
cipher_suites: [
"TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
"BAD_CIPHER_SPEC",
"TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
]
}