The personal finance app for everyone (by everyone)
Ruby
Added ca_file option to use the SSL_CA_FILE specified file if present (#1302)
Florian Krauthane7af0ad99b4d
diff --git a/config/environments/production.rb b/config/environments/production.rbindex f035084367..fc7120a0a9 100644--- a/config/environments/production.rb+++ b/config/environments/production.rb@@ -83,7 +83,8 @@ Rails.application.configure douser_name: ENV["SMTP_USERNAME"],password: ENV["SMTP_PASSWORD"],tls: ENV["SMTP_TLS_ENABLED"] == "true",- openssl_verify_mode: ENV["SMTP_TLS_SKIP_VERIFY"] == "true" ? OpenSSL::SSL::VERIFY_NONE : OpenSSL::SSL::VERIFY_PEER+ openssl_verify_mode: ENV["SMTP_TLS_SKIP_VERIFY"] == "true" ? OpenSSL::SSL::VERIFY_NONE : OpenSSL::SSL::VERIFY_PEER,+ ca_file: ENV["SSL_CA_FILE"]}# Ignore bad email addresses and do not raise email delivery errors.