From b3be7c6a209c96ad80efea297f25c60042bd416c Mon Sep 17 00:00:00 2001 From: Hugo Renard Date: Mon, 18 Sep 2023 14:46:44 +0200 Subject: [PATCH] fix(docker): convert smtp tls sni to char list Signed-off-by: Hugo Renard Signed-off-by: Thomas Citharel --- config/config.exs | 2 +- config/docker.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.exs b/config/config.exs index d6af65dd5..90731e0c6 100644 --- a/config/config.exs +++ b/config/config.exs @@ -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, diff --git a/config/docker.exs b/config/docker.exs index 994c20011..7d363172e 100644 --- a/config/docker.exs +++ b/config/docker.exs @@ -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"),