Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 891 Bytes

tss2_setcertificate.1.md

File metadata and controls

44 lines (25 loc) · 891 Bytes

% tss2_setcertificate(1) tpm2-tools | General Commands Manual % % APRIL 2019

NAME

tss2_setcertificate(1) -

SYNOPSIS

tss2_setcertificate [OPTIONS]

common fapi references

DESCRIPTION

tss2_setcertificate(1) - This command associates an x509 certificate in PEM encoding into the path of a key.

OPTIONS

These are the available options:

  • -p, --path=STRING:

    Identifies the entity to be associated with the certificate.

  • -i, --x509certData=FILENAME or - (for stdin):

    The PEM encoded certificate. Optional parameter. If omitted, then the stored x509 certificate is removed.

common tss2 options

EXAMPLE

tss2_setcertificate --path=HS/SRK/myRSACrypt --x509certData=x509certData.file

RETURNS

0 on success or 1 on failure.

footer