http/https protocol in subscription-manager configuration is not in sync with /etc/yum.repos.d/redhat.repo

Solution Verified - Updated -


  • 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 and yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager [Errno 14] curl#35 - "error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol"
Trying other mirror.


  • 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content