certificate

Command: certificate

Description: Tcpkg stores a whitelist of trusted X.509 certificates in the Windows certificate store. You can manage them using this command. Packages certified in this way are trusted.

Use: tcpkg certificate [subcommand] [options]

Subcommands

Subcommand: add

Description: Use this to add trusted certificates to the whitelist. Packages signed with these are trusted.

Use: tcpkg certificate add <cert-path>

Arguments:

<cert-path>

Path to the certificate file to be added.

Options:

-n, --name <name>

Certificate name

-p, --password <password>

Certificate password (required for .pfx or .p12 files)

Subcommand: list

Description: Outputs the whitelist containing the certificates configured as trusted. Packages signed with the certificate from Beckhoff Automation GmbH & Co. KG are automatically trusted. This is not listed here.

Use: tcpkg certificate list

Subcommand: remove

Description: Use this to add trusted certificates to the whitelist. Packages signed with these are trusted.

Use: tcpkg certificate remove <thumbprint>

Arguments:

<thumbprint>

The fingerprint of the certificate in the certificate store that is to be deleted. A certificate's fingerprint can be viewed using a tcpkg certificate list.