Project

General

Profile

Redmine 2.0.0 smtp certificate problem

Added by WiCiO aeMaeTH over 12 years ago

Hi there!

Just finished my first installation of Redmine 2.0.0 and encountered error during email setup:
"An error occurred while sending mail (hostname was not match with the server certificate)"
email_delivery:
delivery_method: :smtp
smtp_settings:
address: mail.mydomain
port: 25
domain: mydomain
authentication: :login
user_name: "redmine@mydomain"
password: "pswd"

I'm on webhost running debian. I've tried different combinations of host in 'Settings->General'. Also when delivery_method set to sendmail I get a notice that the testmail has been sent but I don't receive it :/

I've installed a couple of times Redmine 1.x and never had this problem. Is there a way to disable the certificate checking in the redmine source? Or a workaround?

Cheers!


Replies (2)

RE: Redmine 2.0.0 smtp certificate problem - Added by WiCiO aeMaeTH over 12 years ago

UPDATE:

Got it working with a setting in configuration.yml:
openssl_verify_mode: 'none'

RE: Redmine 2.0.0 smtp certificate problem - Added by Cyrille Ducloy over 12 years ago

+1, Thanks

production: # Outgoing emails configuration (see examples above)
email_delivery:
delivery_method: :smtp
smtp_settings:
address: localhost
port: 25
domain: foobar.com
authentication: :none
openssl_verify_mode: 'none'

    (1-2/2)