mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-02-26 00:43:31 +08:00
21 lines
818 B
TOML
21 lines
818 B
TOML
#############################################
|
|
# TLS default configuration
|
|
#############################################
|
|
|
|
[server.tls]
|
|
enable = true
|
|
implicit = false
|
|
timeout = "1m"
|
|
certificate = "default"
|
|
#sni = [{subject = "", certificate = ""}]
|
|
#protocols = ["TLSv1.2", "TLSv1.3"]
|
|
#ciphers = [ "TLS13_AES_256_GCM_SHA384", "TLS13_AES_128_GCM_SHA256",
|
|
# "TLS13_CHACHA20_POLY1305_SHA256", "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
|
|
# "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256",
|
|
# "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
|
|
# "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256"]
|
|
ignore-client-order = true
|
|
|
|
[certificate."default"]
|
|
cert = "file://__CERT_PATH__"
|
|
private-key = "file://__PK_PATH__"
|