1tss2_setcertificate(1) General Commands Manual tss2_setcertificate(1)
2
3
4
6 tss2_setcertificate(1) -
7
9 tss2_setcertificate [OPTIONS]
10
12 tss2_setcertificate(1) - This command associates an x509 certificate in
13 PEM encoding into the path of a key.
14
16 These are the available options:
17
18 · -p, --path STRING:
19
20 Identifies the entity to be associated with the certificate.
21
22 · -i, --x509certData FILENAME or - (for stdin):
23
24 The PEM encoded certificate. Optional parameter. If omitted, then
25 the stored x509 certificate is removed.
26
28 This collection of options are common to all tss2 programs and provide
29 information that many users may expect.
30
31 · -h, --help [man|no-man]: Display the tools manpage. By default, it
32 attempts to invoke the manpager for the tool, however, on failure
33 will output a short tool summary. This is the same behavior if the
34 “man” option argument is specified, however if explicit “man” is re‐
35 quested, the tool will provide errors from man on stderr. If the
36 “no-man” option if specified, or the manpager fails, the short op‐
37 tions will be output to stdout.
38
39 To successfully use the manpages feature requires the manpages to be
40 installed or on MANPATH, See man(1) for more details.
41
42 · -v, --version: Display version information for this tool, supported
43 tctis and exit.
44
46 tss2_setcertificate --path HS/SRK/myRSACrypt --x509certData x509certData.file
47
49 0 on success or 1 on failure.
50
52 Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
53
55 See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)
56
57
58
59tpm2-tools APRIL 2019 tss2_setcertificate(1)