HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

trust — Operate on the trust policy store. More information: <https://manned.org/trust>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
theoperatecommandstoretrustclipolicy
linux

Problem

How to use the trust command: Operate on the trust policy store. More information: <https://manned.org/trust>.

Solution

trust — Operate on the trust policy store. More information: <https://manned.org/trust>.

List trust policy store items:
trust list


List information about specific items in the trust policy store:
trust list --filter={{blocklist|ca-anchors|certificates|trust-policy}}


Store a specific trust anchor in the trust policy store:
trust anchor {{path/to/certificate.crt}}


Remove a specific anchor from the trust policy store:
trust anchor --remove {{path/to/certificate.crt}}


Extract trust policy from the shared trust policy store:
trust extract --format=x509-directory --filter=ca-anchors {{path/to/directory}}


Display help for a subcommand:
trust {{subcommand}} --help

Code Snippets

List trust policy store items

trust list

List information about specific items in the trust policy store

trust list --filter={{blocklist|ca-anchors|certificates|trust-policy}}

Store a specific trust anchor in the trust policy store

trust anchor {{path/to/certificate.crt}}

Remove a specific anchor from the trust policy store

trust anchor --remove {{path/to/certificate.crt}}

Extract trust policy from the shared trust policy store

trust extract --format=x509-directory --filter=ca-anchors {{path/to/directory}}

Context

tldr-pages: linux/trust

Revisions (0)

No revisions yet.