get.pme.sh/pnats@v0.0.0-20240304004023-26bb5a137ed0/test/configs/tls_cert_cn_routes.conf (about)

     1  
     2  cluster {
     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    permissions {
    12      publish {
    13    	allow = ["public.>"]
    14      }
    15      subscribe {
    16    	allow = ["public.>"]
    17      }
    18    }
    19  
    20    authorization {
    21      user = "CN=localhost,OU=NATS.io Operators"
    22    }
    23  }