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

     1  # Cluster Seed Node
     2  
     3  listen: 127.0.0.1:7222
     4  
     5  http: 127.0.0.1:9222
     6  
     7  cluster {
     8    listen: 127.0.0.1:7248
     9    name: "abc"
    10  
    11    tls {
    12      # Route cert
    13      cert_file: "../test/configs/certs/server-cert.pem"
    14      # Private key
    15      key_file:  "../test/configs/certs/server-key.pem"
    16      # Specified time for handshake to complete
    17      timeout: 2
    18  
    19      # Optional certificate authority verifying connected routes
    20      # Required when we have self-signed CA, etc.
    21      ca_file:   "../test/configs/certs/ca.pem"
    22    }
    23  }