security settings

   dump-trust-settings [-s] [-d]
          Display Trust Settings.

          -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.

          -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.

          -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.

          -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.

Copyright © 1999-2024
Some rights reserved