Skip to content

Commit

Permalink
Fixes #33959 - correct incorrect client_certificate setting
Browse files Browse the repository at this point in the history
for pulp communication
  • Loading branch information
jlsherrill committed Nov 29, 2021
1 parent 9feabab commit 76ce48e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/katello/concerns/smart_proxy_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def pulp3_configuration(config_class)
end

def pulp3_ssl_configuration(config)
legacy_pulp_cert = !self.setting(PULP3_FEATURE, 'client_authentication')&.include?('client_certificates')
legacy_pulp_cert = !self.setting(PULP3_FEATURE, 'client_authentication')&.include?('client_certificate')

if Faraday.default_adapter == :excon
config.ssl_client_cert = ::Cert::Certs.ssl_client_cert_filename(use_admin_as_cn_cert: legacy_pulp_cert)
Expand Down

0 comments on commit 76ce48e

Please sign in to comment.