Merge branch 'fix/docker-mail-tls' into 'main'
fix(docker): convert smtp tls sni to char list Closes #1352 See merge request framasoft/mobilizon!1456
This commit is contained in:
commit
daa68533d5
|
@ -129,7 +129,7 @@ config :mobilizon, Mobilizon.Web.Email.Mailer,
|
|||
verify: :verify_peer,
|
||||
versions: [:"tlsv1.2", :"tlsv1.3"],
|
||||
cacerts: :public_key.cacerts_get(),
|
||||
server_name_indication: "localhost",
|
||||
server_name_indication: ~c"localhost",
|
||||
depth: 99
|
||||
],
|
||||
retries: 1,
|
||||
|
|
|
@ -55,7 +55,7 @@ config :mobilizon, Mobilizon.Web.Email.Mailer,
|
|||
verify: :verify_peer,
|
||||
versions: [:"tlsv1.2", :"tlsv1.3"],
|
||||
cacerts: :public_key.cacerts_get(),
|
||||
server_name_indication: System.get_env("MOBILIZON_SMTP_SERVER", "localhost"),
|
||||
server_name_indication: ~c"#{System.get_env("MOBILIZON_SMTP_SERVER", "localhost")}",
|
||||
depth: 99
|
||||
],
|
||||
ssl: System.get_env("MOBILIZON_SMTP_SSL", "false"),
|
||||
|
|
Loading…
Reference in a new issue