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

     1  
     2  gateway {
     3    tls {
     4      cert_file = "./configs/certs/tlsauth/server.pem"
     5      key_file = "./configs/certs/tlsauth/server-key.pem"
     6      ca_file = "./configs/certs/tlsauth/ca.pem"
     7      verify_and_map = true
     8      timeout = 2
     9    }
    10  
    11    authorization {
    12      user = "CN=localhost,OU=NATS.io Operators"
    13    }
    14  }