Skip to content

Main Server TLS Encryption

Data exchanged between the Main Server and the client is encrypted to ensure confidentiality, integrity, and authenticity during network transmission. You can manage the encryption settings using the server/tls.json configuration file, which is located in the directory of the running server.

Minimum Protocol Version

Parameter Type Description
min_version string TLS minimal version
Example
{
  "min_version": "TLSv1.2",
}

Maximum Protocol Version

Parameter Type Description
max_version string TLS maximal version
Example
{
  "max_version": "TLSv1.3",
}

Ciphers

Parameter Type Description
ciphers string Allowed algorithms, you can specify more than one with a separator:

Possible values:
TLS_RSA_WITH_AES_128_CBC_SHA
TLS_RSA_WITH_AES_256_CBC_SHA
TLS_RSA_WITH_AES_128_GCM_SHA256
TLS_RSA_WITH_AES_256_GCM_SHA384
TLS_AES_128_GCM_SHA256
TLS_AES_256_GCM_SHA384
TLS_CHACHA20_POLY1305_SHA256
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
Example
{
  "ciphers": "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
}