about summary refs log tree commit diff
path: root/pkgs/servers/web-apps/discourse/action_mailer_ca_cert.patch
blob: d6a4ff8f2a7838881ed1fdb2846cfa4374052afd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 6b73c82e9d..0cefea6fc0 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -32,5 +32,6 @@ Discourse::Application.configure do
       user_name: GlobalSetting.smtp_user_name,
       password: GlobalSetting.smtp_password,
       authentication: GlobalSetting.smtp_authentication,
+      ca_file: "/etc/ssl/certs/ca-certificates.crt",
       enable_starttls_auto: GlobalSetting.smtp_enable_start_tls,
       open_timeout: GlobalSetting.smtp_open_timeout,
       read_timeout: GlobalSetting.smtp_read_timeout