Manually Adding a New Subscription
In certain situations, new product subscriptions can be added by uploading the X.509 entitlements certificate directly rather than polling the subscription service. For example, consumers which are offline must have subscriptions manually added because they cannot connect to the subscription service directly.
- Retrieve the certificate information for the consumer from the Customer Portal.
- Open the Subscriptions tab in the Customer Portal, and select the Overview item under the Certificate-Based Management area.
- In the summary of consumers, click the name of the offline consumer.
- If necessary, assign the subscriptions to the consumer.
- Open the Applied Subscriptions tab.
- Click the Download All Certificates button. This exports all of the entitlements certificates, for each product, to a single
.zip
file. Save the file to some kind of portable media, like a flash drive.To download individual entitlement certificates, click the Download link on the row for the subscription.
- Copy the certificates over to the consumer machine.
- If all certificates were downloaded in an archive file, then there are multiple archives in the downloaded
certificates.zip
file. Unzip the directories until the PEM files for the subscription certificates are available. - Import the certificates.
This can be done from the command line using the
import
command:# subscription-manager import --certificate=/tmp/export/entitlement_certificates/596576341785244687.pem --certificate=/tmp/export/entitlement_certificates/3195996649750311162.pem Successfully imported certificate 596576341785244687.pem Successfully imported certificate 3195996649750311162.pem
This can also be performed through the Subscription Manager GUI:
- Launch the CentOS Subscription Manager GUI. For example:
subscription-manager-gui
- In the Tools area, click the Import Certificate button.
- Click the file folder icon at the right of the field to navigate to the
.pem
file of the product certificate. - Click the Import Certificate button.
The consumer is then entitled for all of the subscription that were uploaded.