Set ca_file explicitly for the mail gem too

parent 27569d4b
......@@ -29,7 +29,8 @@ Diaspora::Application.configure do
port: AppConfig.mail.smtp.port.to_i,
domain: AppConfig.mail.smtp.domain.get,
enable_starttls_auto: false,
openssl_verify_mode: AppConfig.mail.smtp.openssl_verify_mode.get
openssl_verify_mode: AppConfig.mail.smtp.openssl_verify_mode.get,
ca_file: AppConfig.environment.certificate_authorities.get
}
if AppConfig.mail.smtp.authentication != "none"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment