diff --git a/lib/katello/engine.rb b/lib/katello/engine.rb index ff63afd6a56..eae3758909d 100644 --- a/lib/katello/engine.rb +++ b/lib/katello/engine.rb @@ -134,7 +134,11 @@ class Engine < ::Rails::Engine Katello::CandlepinEventListener.client_factory = proc do Katello::Messaging::Connection.create( connection_class: Katello::Messaging::StompConnection, - settings: SETTINGS[:katello][:candlepin_events] + settings: SETTINGS[:katello][:candlepin_events].deep_merge({ + :ssl_key_file => Setting[:ssl_priv_key], + :ssl_cert_file => Setting[:ssl_certificate], + :ssl_ca_file => Setting[:ssl_ca_file], + }) ) end