How to import certificate for java in RHEL 7 so that it does not get overwritten everytime the updates are installed?

Solution Verified - Updated -

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
  • OpenJDK

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In