InnerhalbNach weiteren Dokumenten suchenSupport-Ressourcen | Dieses Buch im PDF-Format herunterladen (5578 KB)
pkgadm(1M)NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | KEYSTORE ALIASES | KEYSTORE PASSWORDS | EXAMPLES | EXIT STATUS | ATTRIBUTES | SEE ALSO NAME
SYNOPSIS
pkgadm removecert [-a app] [-k keystore] -n name [-P passarg] [-R rootpath] pkgadm listcert [-a app] [-f format] [-k keystore] -n name [-P passarg] [-o outfile] [-R rootpath] pkgadm -V pkgadm -? DESCRIPTION
The pkgadm utility is used for managing the packaging and patching system. It has several subcommands that perform various operations relating to packaging. The pkgadm command includes subcommands for managing certificates and keys used. Managing Keys and Certificatespkgadm maintains the packaging-system-wide keystore in /var/sadm/security, and individual user's certificates in ~/.pkg/security. The following subcommands operate on the package keystore database: OPTIONS
The following options are supported: OPERANDS
The following operand is supported: KEYSTORE ALIASESAll keystore entries (user cert/key and trusted certificate entries) are accessed via unique aliases. Aliases are case-sensitive. An alias is specified when you add an entity to a keystore using the addcert or trustcert subcommand. If an alias is not supplied for a trust anchor, the trust anchor's Common Name is used as the alias. An alias is required when adding a signing certificate or chain certificate. Subsequent pkgcert or other package tool commands must use this same alias to refer to the entity. KEYSTORE PASSWORDSSee pkgadd(1M) for a description of the passwords supplied to this utility. EXAMPLESExample 1 Adding a Trust AnchorThe following example adds a well-known and trusted certificate to be used when verifying signatures on packages.
Example 2 Adding a Signing CertificateThe following example adds a signing certificate and associated private key, each of which is in a separate file, which can then be used to sign packages.
Example 3 Printing CertificatesThe following example prints all certificates in the root keystore.
EXIT STATUSATTRIBUTESSee attributes(5) for descriptions of the following attributes:
SEE ALSOpkginfo(1), pkgmk(1), pkgparam(1), pkgproto(1), pkgtrans(1), installf(1M), pkgadd(1M), pkgask(1M), pkgrm(1M), removef(1M), admin(4), pkginfo(4), attributes(5) NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | KEYSTORE ALIASES | KEYSTORE PASSWORDS | EXAMPLES | EXIT STATUS | ATTRIBUTES | SEE ALSO |
|||||||||