- Red Hat Enterprise Linux(RHEL) 5.7 and newer
- Red Hat Enterprise Linux(RHEL) 6.1 and newer
- Red Hat Enterprise Linux(RHEL) 7.0 and newer
- subscription-manager register shows "Server URL has an invalid scheme. http:// and https:// are supported".
Unset the wrong entry of "http://" in the environment for proxy using unset command.
# unset http_proxy
Wrong entry of "http://" in the environment for proxy.
The correct entry should be like below.
Check for any wrong proxy entries in the environment using env command.
# env | grep -i proxy
Also check for any proxy shell script in /etc/profile.d/
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.