dump-trust-settings [-s] [-d] Display Trust Settings. Options: -s Display trusted system certs; default is user. -d Display trusted admin certs; default is user. user-trust-settings-enable [-d] [-e] Display or manipulate user-level Trust Settings. With no arguments, shows the current state of the user-level Trust Settings enable. Otherwise enables or disables user-level Trust Settings. Options: -d Disable user-level Trust Settings. -e Enable user-level Trust Settings. trust-settings-export [-s] [-d] settings_file Export Trust Settings to the specified file. Options: -s Export system Trust Settings; default is user. -d Export admin Trust Settings; default is user. trust-settings-import [-d] settings_file Import Trust Settings from the specified file. When modifying per-user Trust Settings, user authentication is required via an authentication dialog. When modifying admin Trust Settings, the process must be running as root, or admin authentication is required. Options: -d Import admin Trust Settings; default is user.
“Security is mostly a superstition. It does not exist in nature, nor do the children of men as a whole experience it. Avoiding danger is no safer in the long run than outright exposure. Life is either a daring adventure, or nothing” ~ Helen Keller
Related macOS commands:
security - Administer Keychains, keys, certificates and the Security framework.