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