Create a client entitlement certificate with the CLI
When Red Hat issues the original entitlement certificate, it grants access to the repositories you requested. When you create client entitlement certificates, you decide how to subdivide your clients and create a separate certificate for each one. Each certificate can then be used to create individual RPMs.
Before you begin
- The entitlement certificate must be signed by the cloud provider’s CA Certificate.
Procedure
# rhua rhui-manager client cert --repo_label rhel-10-for-x86_64-appstream-eus-rhui-source-rpms --name rhuiclientexample --days 365 --dir /root/clientcert
.............................................+++++
...............................................................................+++++
Entitlement certificate created at /root/clientcert/rhuiclientexample.crt
Use Red Hat repository labels, not IDs. To get a list of all labels, run the rhui-manager client labels command. If you include a protected custom repository in the certificate, use the repository’s ID instead.
Results
- A similar message displays if you successfully created and entitlement certificate:
Entitlement certificate created at /root/clientcert/rhuiclientexample.crt