Basic CA certificate management
Have you ever had to create custom java trust store or been greeted by an error message like x509: certificate signed by unknown authority?
Then this is section is for you.
Background
Many times enterprises may choose to have an internal PKI and Certificate Authority (CA) not trusted by anyone outside the organization. The drawback of this is that the CA's certificate needs to be distributed on all devices that need to trust the corporate CA.
In the past this has meant that developers have been maintaining custom trust stores for their application runtime. Most commonly seen with Java.
As most runtimes now use the operating systems trust store by default, adding the CA trust to the system trust instead removes the need for the application developer to bring along their own trust store and maintaining it separately when this instead can be part of the corporate Standard Operating Environment (SOE).
Good practice
As these CA certificates usually do not change very frequently the recommended practice on how to distribute these certificates is by packaging them up as an RPM and install them as part of the SOE.
An alternative approach is to utilize a Configuration Management Tool, like Ansible. This also allows to update CA certificates in situations, where the connection to the repository server is via HTTPS, the certificates of the same CA are used, and the process is unstable, so the CA validity may break the rpm based process.
References
Additional details about the RHEL system trust store and how to add additional certificates to it is available in the RHEL9 documentation and RHEL10 documentation