6.6. Attaching a Red Hat Subscription and Enabling the Certificate System Package Repository

Before you can install and update Certificate System using the yum utility, you must enable the corresponding repository:
  1. Attach the Red Hat subscriptions to the system:
    Skip this step, if your system is already registered or has a Certificate Server subscription attached.
    1. Register the system to the Red Hat subscription management service:
      # subscription-manager register --auto-attach
      Username: admin@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:                 Subscribed
      Use the --auto-attach option to automatically apply a subscription for the operating system.
    2. 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
    3. Attach the Certificate System subscription to the system using the pool ID from the previous step:
      # subscription-manager attach --pool=7aba89677a6a38fc0bba7dac673f7993
      Successfully attached a subscription for: Red Hat Enterprise Linux Developer Suite
  2. Enable the Certificate Server repository:
    # subscription-manager repos --enable=rhel-7-server-rhcmsys-9-rpms
    Repository '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.

Note

For compliance, only enable Red Hat approved repositories. Only Red Hat approved repositories can be enabled through subscription-manager utility.