Skip to main content

adt strust

STRUST SSL certificate management — Personal Security Environments (PSEs) and X.509 certificates. Wraps /sap/bc/adt/security/strust.

Subcommands

CommandDescription
adt strust listList Personal Security Environments (STRUST identities).
adt strust get <context> <applic>List certificates installed in a PSE.
adt strust put <context> <applic> <pem-file>Upload a PEM-encoded certificate into a PSE.
adt strust delete <context> <applic> <cert-id>Delete a certificate from a PSE.

The <context> is the PSE context (e.g. SSLC for SSL-client anonymous, SSLS for SSL-server) and <applic> is the application (e.g. DFAULT, ANONYM).

Options

list

FlagDescription
--jsonOutput results as JSON.

get <context> <applic>

FlagDescription
--jsonOutput as JSON.

put <context> <applic> <pem-file>

FlagDescription
<pem-file>Path to a PEM-encoded X.509 certificate file.
--jsonOutput as JSON.

delete <context> <applic> <cert-id>

FlagDescription
<cert-id>Certificate id (from adt strust get).
-y, --yesSkip confirmation prompt (default: false).
--jsonOutput as JSON.

Examples

# Inspect available PSEs
adt strust list

# List certs in the anonymous SSL client PSE
adt strust get SSLC ANONYM

# Trust a new CA
adt strust put SSLC ANONYM ./ca-bundle.pem

# Remove a specific cert by id
adt strust delete SSLC ANONYM 123456789 -y

See also