Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use client certificates for Candlepin events #11327

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/katello/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,11 @@
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],

Check failure on line 138 in lib/katello/engine.rb

View workflow job for this annotation

GitHub Actions / Rubocop / Rubocop

Layout/FirstHashElementIndentation: Use 2 spaces for indentation in a hash, relative to the first position after the preceding left parenthesis.
:ssl_cert_file => Setting[:ssl_certificate],
:ssl_ca_file => Setting[:ssl_ca_file],
})

Check failure on line 141 in lib/katello/engine.rb

View workflow job for this annotation

GitHub Actions / Rubocop / Rubocop

Layout/FirstHashElementIndentation: Indent the right brace the same as the first position after the preceding left parenthesis.
)
end

Expand Down
Loading