Forrest logo
back to the trust tool

trust:tldr:ba89e

trust: Extract trust policy from the shared trust policy store.
$ trust extract --format=x509-directory --filter=ca-anchors ${path-to-directory}
try on your machine

The command you provided is executing the "trust" tool with the following options:

  1. extract: This is the action parameter for the "trust" command, indicating that you want to extract trust information.

  2. --format=x509-directory: This option specifies the format in which you want the extracted trust information to be displayed. In this case, it's set to "x509-directory," which means the trust information will be in the form of a directory containing X.509 certificates.

  3. --filter=ca-anchors: This option applies a filter to the trust extraction process. It instructs the tool to only extract certificates that are considered "CA anchors," which typically refers to trusted root certificates or intermediate certificates that are included in the trust chain.

  4. ${path-to-directory}: This is a placeholder for the actual path to the directory that contains the X.509 certificates or CA anchors. You need to replace ${path-to-directory} with the actual path in order to select the correct directory.

Overall, this command is used to extract trust information from a directory of X.509 certificates, specifically filtering and extracting only the CA anchors. The extracted trust information will be displayed in a directory format.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the trust tool