我有以下smtp配置(/redmine_path/config/configuration.yml)
默认: email_delivery: delivery_method :: smtp smtp_settings: 地址:mail.example.com 港口:465 …
ca_file: "/etc/ssl/certs/ca-certificates.crt"
要么
ca_path: "/etc/ssl/certs/"
在此更改后,Redmine正确找到CA根证书。
default: email_delivery: delivery_method: :smtp smtp_settings: address: mail.example.com port: 465 authentication: :plain domain: mail.example.com user_name: "redmine@example.com" password: "xxxxxxxx" tls: true enable_starttls_auto: false openssl_verify_mode: 'peer' ca_file: "/etc/ssl/certs/ca-certificates.crt"
为yum,apt-get或zypper交换“package-manager”
<package-manager> install ca-certificates
我想知道有多少人放弃了,只是将openssl_verify_mode设置为'none'。可怕的考虑可能的中间人攻击。
的 有关Ruby ActionMailer :: Base配置的更多信息 强> : ActionMailer SMTP“证书验证失败”