я получаю «OpenSSL::SSL::SSLError (имя хоста не соответствует сертификату сервера)» в производственном режиме rails 4 с использованием sendgrid
ActionMailer::Base.smtp_settings = {
:user_name => 'xxxx',
:password => 'xxxx',
:domain => 'moorem.com',
:address => 'smtp.sendgrid.net',
:port => 587,
:authentication => :plain,
:enable_starttls_auto => true
}
the following error getting
OpenSSL::SSL::SSLError (hostname does not match the server certificate):
app/controllers/pages_controller.rb:26:in `contact_create'