Definition

For a selected client and deployment, identify the active trust source, record its version and certificate fingerprints, and test that source against the intended TLS endpoint. Repeat for client configurations that apply different trust rules.

Find the trust source for a running client

Start from a representative process, container or device. Record the runtime version, app configuration, image digest and the relevant trust-store setting. Where an override is possible, confirm which file or managed policy the client actually loads.

For Java applications using the default JSSE trust manager implementation, check javax.net.ssl.trustStore first. When that property is absent, the default implementation checks jssecacerts before cacerts. Applications can initialize their own trust managers, so confirm their effective behavior using configuration and a client test.

Official sourcesOracle Java 25 JSSE Reference Guide ↗

List trust anchors without modifying the store

For the JDK's bundled cacerts store, use keytool -list -v -cacerts. For a known custom Java store, use keytool -list -v -keystore /path/to/truststore.p12 and follow the approved authentication process. Confirm the type and location first. Keep passwords out of command history and inventory exports.

Retain the public certificate fingerprint, subject, validity and trust-store identity under your evidence policy. A display alias can change, so use the certificate fingerprint to reconcile certificates across exports.

Client scopeWhat to retain
Service and environmentService owner, app version, base image or runtime and deployment identifier.
Effective trust sourceOS-managed store, bundled store, explicit bundle or application-managed policy, with a source reference.
Approved anchorsPublic SHA-256 fingerprints, purpose, validity and approval owner.
Verification outcomeTarget hostname, time, active store version and client validation result.
Official sourcesOracle Java 25 keytool documentation ↗

Compare stores before a CA rollover

Suppose a new CA root appears in the base image while one deployed container retains an older custom bundle. Record the effective stores separately. Test the planned server chain with both clients and add a trust bundle update for the container if its policy requires that new root.

Confirm the older and replacement paths required during the transition. Preserve the approved list, the change receipt and results from representative clients before retiring an anchor.

Frequently asked questions

Is the server-sent chain the client's trust store?

The server presents its certificate list. The client uses its own configured trust anchors and policy to evaluate a path.

Does listing cacerts show what every Java process trusts?

It shows the selected JDK's bundled store. Check application settings and custom trust manager behavior for the actual process.

What should I compare after updating CA roots?

Compare public certificate fingerprints and effective configuration for each affected client, then rerun the expected connection tests on those versions.