4.2.1 Ensure 'trustDefaultCerts' is set to 'false'

Information

The default certificates from the Java runtime are trusted by the server in addition to the certificates configured in the SSL/TLS configurations in the server.

Restricting the certificates trusted by the server to only the SSL/TLS configurations in the server in a production environment eliminates the risk of trusting other certificates when making outbound secure connections.

Solution

Add the trustDefaultCerts attribute to all ssl elements to ${server.config.dir}/configDropins/overrides/*.xml and set the value to false

<ssl trustDefaultCerts="false" />

See Also

https://workbench.cisecurity.org/benchmarks/7724

Item Details

Category: ACCESS CONTROL, IDENTIFICATION AND AUTHENTICATION, SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|AC-17(2), 800-53|IA-5, 800-53|IA-5(1), 800-53|SC-8, 800-53|SC-8(1), CSCv7|14.4

Plugin: Unix

Control ID: 2ea997fbeb04bcf83862cc62d6131df074ce7802c438dd40a5878255d3c5ecae