Chapter 8. Managing Entitlement Certificates
n at the prompt:
rhui (entitlements) => n
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= Entitlements Manager =-
l list Red Hat content certificate entitlements
c list custom repository entitlements
u upload a new or updated Red Hat content certificate
Connected: rhua.example.com
------------------------------------------------------------------------------
rhui (entitlements) =>
Procedure 8.1. List Certificate Information
- From the Entitlements Manager screen, type
lat the prompt to list data about the current content certificate.RHUI Manager will give the following information about the certificate:Table 8.1. Certificate Information
Value Description Not Before The start date of the certificate. The certificate is only valid after this date. Not After The expiry date of the certificate Serial Number The serial number of the certificate Entitlements The entitlements the certificate grants rhui (entitlements) => l Red Hat Entitlements Valid Red Hat Enterprise Linux Server (RPMs) Expiration: 01-31-2012 Certificate: big-content-cert.pem Red Hat Enterprise Linux Server (SRPMS) Expiration: 01-31-2012 Certificate: big-content-cert.pem Red Hat Enterprise Linux Server 6 Releases (RPMs) Expiration: 01-31-2012 Certificate: big-content-cert.pem Red Hat Enterprise Linux Server 6 Releases (SRPMS) Expiration: 01-31-2012 Certificate: big-content-cert.pem Red Hat Enterprise Linux Server 6 Updates (RPMs) Expiration: 01-31-2012 Certificate: big-content-cert.pem Red Hat Enterprise Linux Server 6 Updates (SRPMS) Expiration: 01-31-2012 Certificate: big-content-cert.pem Red Hat Update Infrastructure 1.2 (RPMs) Expiration: 01-31-2012 Certificate: big-content-cert.pem Red Hat Update Infrastructure 1.2 (SRPMS) Expiration: 01-31-2012 Certificate: big-content-cert.pem Expired Red Hat Update Infrastructure 1.1 (RPMs) Expiration: 06-25-2011 Certificate: content-cert.pem --------------------------------------------------------- rhui (entitlements) =>
Procedure 8.2. List Custom Repository Entitlements
- From the Entitlements Manager screen, type
cat the prompt to list data about the custom repository entitlements.rhui (entitlements) => c Custom Repository Entitlements For each entitlement URL listed, the corresponding repositories that are configured with that entitlement are listed. /protected/$basearch/os - Name: Repo 1 URL: protected/i386/os - Name: Repo 2 URL: protected/x86_64/os ------------------------------------------------------------------------------ rhui (entitlements) =>
Procedure 8.3. Upload Content Certificate
Note
Note
cat command at a shell prompt:
$ cat content.crt content.key > content-2.0.pem
- From the Entitlements Manager screen, type
uat the prompt to upload a new content certificate:rhui (entitlements) => u
Important
Content certificates are stored on the same system RHUI Manager is installed on, at/etc/pki/rhui. For security reasons, this directory requires root permissions. If you do not have the correct permissions, RHUI Manager will not allow you to proceed:rhui (entitlements) => u The current user does not have write privileges to update the content cert at /etc/pki/rhui/content-cert.crt. ------------------------------------------------------------------------------ rhui (entitlements) =>
- Enter the full path to the new content certificate:
Full path to the new content certificate: /home/example/rhui-certs/cert-1.pem
- The details of the new certificate to be uploaded will be displayed. Type
yat the prompt to confirm the information and upload the packages. RHUI Manager will then list the current certificates:The RHUI will be updated with the following certificate: Certificate: /home/example/rhui-certs/cert-1.pem Proceed? (y/n) y Red Hat Entitlements RHEL 5 Expiration: 06-06-2012 Certificate: cert-2.pem RHUI 1.1 Expiration: 06-07-2012 Certificate: cert-1.pem RHUI 1.2 Expiration: 06-07-2012 Certificate: cert-1.pem ------------------------------------------------------------------------------ rhui (entitlements) =>

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.