6.6. Attaching a Red Hat Subscription and Enabling the Certificate System Package Repository
Before you can install and update Certificate System using the
yumutility, you must enable the corresponding repository:
- Attach the Red Hat subscriptions to the system:Skip this step, if your system is already registered or has a Certificate Server subscription attached.
- Register the system to the Red Hat subscription management service:
subscription-manager register --auto-attachUsername: email@example.com Password: The system has been registered with id: 566629db-a4ec-43e1-aa02-9cbaa6177c3f Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: SubscribedUse the
--auto-attachoption to automatically apply a subscription for the operating system.
- List the available subscriptions and note the pool ID providing the Red Hat Certificate System. For example:
subscription-manager list --available --all... Subscription Name: Red Hat Enterprise Linux Developer Suite Provides: ... Red Hat Certificate System ... Pool ID: 7aba89677a6a38fc0bba7dac673f7993 Available: 1 ...In case you have a lot of subscriptions, the output of the command can be very long. You can optionally redirect the output to a file:
subscription-manager list --available --all > /root/subscriptions.txt
- Attach the Certificate System subscription to the system using the pool ID from the previous step:
subscription-manager attach --pool=7aba89677a6a38fc0bba7dac673f7993Successfully attached a subscription for: Red Hat Enterprise Linux Developer Suite
- Enable the Certificate Server repository:
subscription-manager repos --enable=rhel-7-server-rhcmsys-9-rpmsRepository 'rhel-7-server-rhcmsys-9-rpms' is enabled for this system.
Installing the required packages is described in the Chapter 7, Installing and Configuring Certificate System chapter.
For compliance, only enable Red Hat approved repositories. Only Red Hat approved repositories can be enabled through