Problem: When using http proxy with authentication (user+pass) scc uses encrypted password.
Expected outcome:
Foreman and Proxy versions: 18
Foreman and Proxy plugin versions: rubygem-foreman_scc_manager 5.3.0 1.fm3_18.el9
Distribution and version: RHEL 9.8
Other relevant data:
From file:
head /usr/share/gems/gems/foreman_scc_manager-5.3.0/app/lib/scc_manager.rb
module SccManager
def self.get_scc_data(base_url, rest_url, login, password)
if (proxy_config = ::HttpProxy.default_global_content_proxy)
uri = URI(proxy_config[:url])
uri.user = proxy_config[:username]
uri.password = proxy_config[:password] if uri.user.present?
proxy_config[:password] is in a form encrypted-XYZ instread of actuall password. It cases http proxy to decline authentication and reqest is not handled properly. When I provide plaintext password instead of proxy_config[:password], scc is working fine.
can someone adress that?