From e6f70435428668e524e92f1928c9fc27d2f42ce8 Mon Sep 17 00:00:00 2001 From: Kegan Myers Date: Sat, 15 Apr 2017 23:40:44 -0500 Subject: [PATCH] Use system SSL certs for SMTP --- config/environments/production.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index 80021287..cd95507c 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -104,6 +104,7 @@ Rails.application.configure do :authentication => ENV['SMTP_AUTH_METHOD'] || :plain, :openssl_verify_mode => ENV['SMTP_OPENSSL_VERIFY_MODE'], :enable_starttls_auto => ENV['SMTP_ENABLE_STARTTLS_AUTO'] || true, + :ca_file => "/etc/ssl/certs/ca-certificates.crt" } config.action_mailer.delivery_method = ENV.fetch('SMTP_DELIVERY_METHOD', 'smtp').to_sym