How to prevent "update-ca-trust" from resetting cacerts password to "changeit"

Solution Verified - Updated -

Issue

  • How to prevent "update-ca-trust" from resetting cacerts password to "changeit"?
  • Is there a way to change the cacerts password and not have it reset to "changeit" every time the rpm is updated or "update-ca-trust" is run?
  • Every time "update-ca-trust" is run, the security scanner flags cacerts for having the default "changeit" password.

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Red Hat build of OpenJDK

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content