5.9 Enable OCSP and CRL certificate checking - CRLStyle

Information

Certificates should only be trusted if they have both a satisfactory trust chain and they have not been revoked. macOS can check whether the certificate is still valid based on issued parameters within the certificate.

Rationale:

A rogue or compromised certificate should not be trusted

Solution

Run the following commands to enforce the compliant state

To set the CRL settings:

defaults write com.apple.security.revocation CRLStyle -string RequireIfPresent

To set the OCSP settings:

defaults write com.apple.security.revocation OCSPStyle -string RequireIfPresent

See Also

https://workbench.cisecurity.org/files/2105

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(2)

Plugin: Unix

Control ID: 2c2a71aaf5a4e9d9d93003fed323c0ba0df3cc921848040b7f36acdabc00c8f1