How to import certificate for java in RHEL and later so that it does not get overwritten every time the updates are installed
Issue
- We are using the RHEL openjdk to run a java app and need to add a root certificate authority (CA) to the CA certs. How can we do that in a way that won't be overwritten every time we install updates to the package?
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 10
- OpenJDK
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.