All Files Used by CentOS Subscription Manager

All of the files related to the configuration of CentOS Subscription Manager are used by both the GUI and CLI; there's no separate configuration.

Table 14.6. CentOS Subscription Manager Files and Directories

File or Directory Description
/etc/rhsm The primary CentOS Subscription Manager configuration directory.
/etc/rhsm/rhsm.conf The CentOS Subscription Manager configuration file. This is used by both the GUI and the CLI.
/etc/rhsm/facts Any user-defined JSON files that override or add system facts to determine entitlement compatibility. Any facts files must end in .facts.
/var/lib/rhsm/cache/installed_products.json A master list of installed products, which is sent by Subscription Manager to a hosted content service, such as Subscription Asset Manager.
/var/lib/rhsm/facts/facts.facts The default system facts filed, gathered by the Subscription Manager.
/var/lib/rhsm/packages/ The package profile cache (a list of installed products) which is gathered and periodically updated by the Subscription Manager.
/var/log/rhsm The CentOS Subscription Manager log directory.
/var/log/rhsm/rhsm.log The log for the CentOS Subscription Manager tools.
/var/log/rhsm/rhsmcertd.log The log for the CentOS Subscription Manager daemon, rhsmcertd.
/etc/pki/consumer The directory which contains the identity certificates used by the system to identify itself to the subscription service.
/etc/pki/consumer/cert.pem The base-64 consumer identity certificate file.
/etc/pki/consumer/key.pem The base-64 consumer identity key file.
/etc/pki/entitlement The directory which contains the entitlement certificates for the available subscriptions.
/etc/pki/product/product_serial#.pem The product certificates for installed software products.
/var/run/subsys/rhsm Runtime files for CentOS Subscription Manager
/etc/init.d/rhsmcertd The subscription certificate daemon.
/etc/cron.daily/rhsm-complianced and /usr/libexec/rhsm-complianced Files to run daily checks and notifications for subscription validity.
/etc/yum/pluginconf.d/rhsmplugin.conf The configuration file to include the CentOS Subscription Manager plug-in in the yum configuration.
/usr/share/rhsm All of the Python and script files used by both CentOS Subscription Manager tool to perform subscription tasks.
/usr/share/rhsm/gui All of the Python script and image files used to render the CentOS Subscription Manager GUI.