github.com/nats-io/nats-server/v2@v2.11.0-preview.2/server/configs/reload/tls_multi_cert_2.conf (about)

     1  # Simple TLS config file
     2  
     3  listen:   127.0.0.1:-1
     4  
     5  tls {
     6    certs = [
     7      {
     8        cert_file: "../test/configs/certs/srva-cert.pem"
     9        key_file:  "../test/configs/certs/srva-key.pem"
    10      },
    11      {
    12        cert_file: "../test/configs/certs/srvb-cert.pem"
    13        key_file:  "../test/configs/certs/srvb-key.pem"
    14      }
    15    ]
    16    ca_file: "../test/configs/certs/ca.pem"
    17    verify:  true
    18    timeout: 2
    19  }