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