# Linux - RHeL Subscription

<p class="callout info">Last verified: October 2026 against Red Hat's registration and Simple Content Access documentation and the RHEL 10.0 release notes.</p>

We encountered the error message ‘*This system is not registered with an entitlement server*, *You can use “rhc” or “subscription-manager*” to register’. On CentOS Stream 9 Linux system while trying to perform package installations. For RHEL, this usually is an indication that your system is not registered with Red Hat’s subscription management service.

```
$ <mark class="has-inline-color has-ast-global-color-7-color">sudo dnf clean all</mark>
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.

21 files removed
```

Here is how we solved the issue on the system. Open the following file for editing:

```
sudo vi /etc/dnf/plugins/subscription-manager.conf
```

Change from `enabled=1` to `enabled=0`:

```
[main]
<mark class="has-inline-color has-ast-global-color-1-color">enabled=0</mark>

# When following option is set to 1, then all repositories defined outside redhat.repo will be disabled
# every time subscription-manager plugin is triggered by dnf or yum
disable_system_repos=0
```

You can then update package cache and try install your packages.

For RHEL system, run the following command to register your system with the Red Hat Subscription Manager:

```
sudo subscription-manager register --username <mark class="has-inline-color has-ast-global-color-1-color"><your_username></mark> --password<mark class="has-inline-color has-ast-global-color-1-color"> <your_password></mark>
```

Remember to replace the username and password with the ones for your Red Hat account. On RHEL 8.8 and later you can also register with `rhc`, using either an activation key or your account:

```
sudo rhc connect --activation-key=<key> --organization=<org_id>
sudo rhc connect --username=<your_username> --password=<your_password>
```

<p class="callout info">No attach step is needed after registering. Simple Content Access is now the default for all Red Hat accounts, so a registered system can use the content its account is entitled to straight away. `subscription-manager attach --auto` from older guides was deprecated in RHEL 9.5 and the attach commands were removed in RHEL 10.</p>

Check that registration was successful:

```
sudo subscription-manager status
```

To enable a specific repository, run:

```
sudo subscription-manager repos --enable=<mark class="has-inline-color has-ast-global-color-1-color"><repository_name></mark>
```

Listing of available repositories can be done using:

```
sudo subscription-manager repos --list
```

Enjoy using your CentOS Stream or Red Hat Enterprise Linux system!.

#### Sources

- [https://docs.redhat.com/en/documentation/subscription\_central/1-latest/html-single/getting\_started\_with\_rhel\_system\_registration/index](https://docs.redhat.com/en/documentation/subscription_central/1-latest/html-single/getting_started_with_rhel_system_registration/index)
- [https://access.redhat.com/articles/simple-content-access](https://access.redhat.com/articles/simple-content-access)
- [https://access.redhat.com/articles/transition\_of\_subscription\_services\_to\_the\_hybrid\_cloud\_console](https://access.redhat.com/articles/transition_of_subscription_services_to_the_hybrid_cloud_console)
- [https://docs.redhat.com/en/documentation/red\_hat\_enterprise\_linux/10/html/10.0\_release\_notes/removed-features](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/10.0_release_notes/removed-features)