1tss2_setcertificate(1)      General Commands Manual     tss2_setcertificate(1)
2
3
4

NAME

6       tss2_setcertificate(1) -
7

SYNOPSIS

9       tss2_setcertificate [OPTIONS]
10

SEE ALSO

12       fapi-config(5)  to  adjust  Fapi parameters like the used cryptographic
13       profile and TCTI or directories for the Fapi metadata storages.
14
15       fapi-profile(5) to determine the cryptographic algorithms  and  parame‐
16       ters for all keys and operations of a specific TPM interaction like the
17       name hash algorithm, the asymmetric signature algorithm, scheme and pa‐
18       rameters and PCR bank selection.
19

DESCRIPTION

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

OPTIONS

25       These are the available options:
26
27-p, --path=STRING:
28
29         Identifies the entity to be associated with the certificate.
30
31-i, --x509certData=FILENAME or - (for stdin):
32
33         The PEM encoded certificate.  Optional parameter.  If  omitted,  then
34         the stored x509 certificate is removed.
35

COMMON OPTIONS

37       This  collection of options are common to all tss2 programs and provide
38       information that many users may expect.
39
40-h, --help [man|no-man]: Display the tools manpage.  By  default,  it
41         attempts  to  invoke  the  manpager for the tool, however, on failure
42         will output a short tool summary.  This is the same behavior  if  the
43         “man”  option argument is specified, however if explicit “man” is re‐
44         quested, the tool will provide errors from man  on  stderr.   If  the
45         “no-man”  option  if  specified, or the manpager fails, the short op‐
46         tions will be output to stdout.
47
48         To successfully use the manpages feature requires the manpages to  be
49         installed or on MANPATH, See man(1) for more details.
50
51-v,  --version:  Display version information for this tool, supported
52         tctis and exit.
53

EXAMPLE

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

RETURNS

58       0 on success or 1 on failure.
59

BUGS

61       Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
62

HELP

64       See the Mailing List (https://lists.linuxfoundation.org/mailman/listin
65       fo/tpm2)
66
67
68
69tpm2-tools                        APRIL 2019            tss2_setcertificate(1)
Impressum