이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 4. Connecting to Red Hat Lightspeed through your own proxy
You might choose to use your own proxy to act as a gateway between the public Internet and your private network. This is a good security measure to protect your systems from malicious activity. To connect your systems to Red Hat Lightspeed you must add hostnames, ports and allow additional URLs.
4.1. Connecting to Red Hat Lightspeed through your own proxy 링크 복사링크가 클립보드에 복사되었습니다!
If you are a Red Hat Satellite user, no proxy is required because Satellite serves as a proxy itself. For more information, see: How to configure Red Hat Satellite 6 with proxy server.
To connect to Red Hat Lightspeed, you must include specific hostnames and ports on your proxy’s outgoing network.
Prerequisites
- You have at least one active Red Hat Enterprise Linux subscription.
- You are logged in to the system as root or have sudo permissions.
- Your system is registered with Red Hat Subscription Manager (RHSM).
Procedure
Navigate to your outgoing network configuration and add the following addresses and ports:
https://cert-api.access.redhat.com:443
https://cert-api.access.redhat.com:443Copy to Clipboard Copied! Toggle word wrap Toggle overflow https://cert.cloud.redhat.com:443
https://cert.cloud.redhat.com:443Copy to Clipboard Copied! Toggle word wrap Toggle overflow https://cert.console.redhat.com:443
https://cert.console.redhat.com:443Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add the Red Hat Hybrid Cloud Console URL so that you can manage your account and hosts in the Red Hat Lightspeed Web UI:
https://console.redhat.com:443
https://console.redhat.com:443Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add the URL for Single-Sign-On to Red Hat to allow access to authorization:
https://sso.redhat.com:443
https://sso.redhat.com:443Copy to Clipboard Copied! Toggle word wrap Toggle overflow
For each host that uses your proxy, add the following details the /etc/rhsm/rhsm.conf file:
This information is required for RHSM, Red Hat Lightspeed client and remote host configuration (rhc).
Add your HTTP proxy server’s URL:
proxy_hostname =
proxy_hostname =Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add the proxy scheme to allow authorization. HTTP is the default:
proxy_scheme = http
proxy_scheme = httpCopy to Clipboard Copied! Toggle word wrap Toggle overflow Add the port for your proxy server:
proxy_port =
proxy_port =Copy to Clipboard Copied! Toggle word wrap Toggle overflow Optional: If your proxy requires authentication, add your user name and password:
proxy_user =
proxy_user =Copy to Clipboard Copied! Toggle word wrap Toggle overflow proxy_password =
proxy_password =Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add any domains that you want to opt out from the proxy:
no_proxy =
no_proxy =Copy to Clipboard Copied! Toggle word wrap Toggle overflow Optional: Edit the
insights-client.confconfiguration file to change the proxy. By default, Red Hat Lightspeed client uses RHSM’s configuration for a proxy./etc/insights-client/insights-client.conf
/etc/insights-client/insights-client.confCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Open your command line interface (CLI) and run the following command as root:
insights-client --test-connection --net-debug
[root@server ~]# insights-client --test-connection --net-debugCopy to Clipboard Copied! Toggle word wrap Toggle overflow If connectivity is successful, you will see the following output in your CLI:
End API URL Connection Test: SUCCESS Connectivity tests completed successfully See `/var/log/insights-client/insights-client.log` for more details.
End API URL Connection Test: SUCCESS Connectivity tests completed successfully See `/var/log/insights-client/insights-client.log` for more details.Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Additional resources