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

     1  # Simple TLS config file
     2  
     3  listen: 127.0.0.1:4443
     4  
     5  tls {
     6    cert_file:  "./configs/certs/server.pem"
     7    key_file:   "./configs/certs/key.pem"
     8    timeout: 2
     9    cipher_suites: [
    10  	"TLS_RSA_WITH_RC4_128_SHA",
    11  	"TLS_RSA_WITH_3DES_EDE_CBC_SHA",
    12  	"TLS_RSA_WITH_AES_128_CBC_SHA",
    13  	"TLS_RSA_WITH_AES_256_CBC_SHA",
    14  	"TLS_ECDHE_ECDSA_WITH_RC4_128_SHA",
    15  	"TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
    16  	"TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
    17  	"TLS_ECDHE_RSA_WITH_RC4_128_SHA",
    18  	"TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA",
    19  	"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
    20  	"TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
    21  	"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
    22  	"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
    23    ]
    24  }
    25  
    26  authorization {
    27    user:     derek
    28    password: monkey
    29    timeout:  1
    30  }