http/https protocol in subscription-manager configuration is not in sync with /etc/yum.repos.d/redhat.repo
Issue
- When using proxy server in /etc/rhsm/rhsm.conf ,http/https protocol in subscription-manager config not sync with /etc/yum.repos.d/redhat.repo.
- Error "no such option: --server.proxy_scheme" seen when set it from command line.
# subscription-manager config --server.proxy_scheme http
Usage: subscription-manager config [OPTIONS]
subscription-manager: error: no such option: --server.proxy_scheme
- Error ”unknown protocol“ seen when run
yum update
andyum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#35 - "error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol"
Trying other mirror.
Environment
- Red Hat Enterprise Linux 7
- subscription-manager-1.19.21-1.el7.x86_64 or below
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.