Files
nats-server/test/configs/tlsverify_noca.conf
Ivan Kozlovic 8f7f6e9f8b [FIXED] Client certificate verification when verify is true.
Server was incorrectly requiring a client certificate, but not
verifying it.

Resolves #336
2016-08-25 15:33:13 -06:00

19 lines
418 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
# Require a client certificate
verify: true
# Omit the client CA, this is to verify that
# the server is really trying to verify the
# client certificate.
}