Sync Repos finish with warning hostname does not match the server certificate
This is happening because the following:
Actions::Katello::Repository::ErrataMailInput:
{"repo"=>4, "last_updated"=>"2015-10-17 02:20:18 +1300", "locale"=>"en"}Output:
{}Exception:
OpenSSL::SSL::SSLError: hostname does not match the server certificate
As we can see the sync of repos is failed because the errata mail can't be send it
to resolve this issue we need to configure our email.yml
# cat /etc/foreman/email.yaml
# Outgoing email settings
production:
delivery_method: :smtp
smtp_settings:
address: smtp.example.com
port: 25
enable_starttls_auto: false
<< add this to avoid the connection via tls to
the mail server if you don't needed.
Comments
Post a Comment