auth_smartcard_certificate_trust_enforce_moderate Set Smartcard Certificate Trust to Moderate
All changes in this version
Title
Set Smartcard Certificate Trust to Moderate
Control
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.security.smartcard')\
.objectForKey('checkCertificateTrust').js
EOS
Discussion
The macOS system _MUST_ be configured to block access to users who are no longer authorized (i.e., users with revoked certificates).
To prevent the use of untrusted certificates, the certificates on a smartcard card _MUST_ meet the following criteria: its issuer has a system-trusted certificate, the certificate is not expired, its "valid-after" date is in the past, and it passes Certificate Revocation List (CRL) and Online Certificate Status Protocol (OCSP) checking.
By setting the smartcard certificate trust level to moderate, the system will execute a soft revocation, i.e., if the OCSP/CRL server is unreachable, authentication will still succeed.
NOTE: Before applying this setting, please see the smartcard supplemental guidance.
Related controls
ia-5.2, sc-17
Fix
This is implemented by a Configuration Profile.