From 3d0a2fa31f8d3266734879fb13c23f538107beb1 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 5705ffcf..7348af15 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -86,6 +86,7 @@ Rails.application.configure do :openssl_verify_mode => ENV['SMTP_OPENSSL_VERIFY_MODE'], :enable_starttls_auto => ENV['SMTP_ENABLE_STARTTLS_AUTO'] || true, :tls => ENV['SMTP_TLS'].presence, + :ca_file => "/etc/ssl/certs/ca-certificates.crt" } config.action_mailer.delivery_method = ENV.fetch('SMTP_DELIVERY_METHOD', 'smtp').to_sym