get.pme.sh/pnats@v0.0.0-20240304004023-26bb5a137ed0/server/configs/tls_bad_cipher.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  
    10    # this should generate an error
    11    cipher_suites: [
    12  	"TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
    13  	"BAD_CIPHER_SPEC",
    14  	"TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
    15  	"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
    16    ]
    17  }