tss2_getcertificate(1)
π okay so, tss2_getcertificate bestie π
Welcome to the tss2_getcertificate(1) page in the General Commands Manual β manual name folded in, header line not copied, we're having a moment. π
β¨ NAME β¨
tss2_getcertificate(1) β yep, that's the whole NAME line, bestie: tss2_getcertificate(1) -. The actual command tea is in DESCRIPTION. π«Ά
πΈ SYNOPSIS πΈ
tss2_getcertificate [OPTIONS]
π¦ SEE ALSO π¦
fapi-config(5)β to adjust Fapi parameters like the used cryptographic profile and TCTI or directories for the Fapi metadata storages.fapi-profile(5)β to determine the cryptographic algorithms and parameters for all keys and operations of a specific TPM interaction like the name hash algorithm, the asymmetric signature algorithm, scheme and parameters and PCR bank selection.
π« DESCRIPTION π«
tss2_getcertificate(1) β this command returns the PEM encoded X.509 certificate associated with the key at path. That's the whole vibe: you point at a path, it gives you the cert. π₯
π OPTIONS π
These are the available options, bestie:
-f,--forceβ Force overwriting the output file. No asking, no crying, just overwrite. π-p,--path=STRINGβ The entity whose certificate is requested. This is your main-characterpath. π-o,--x509certData=FILENAME or - (for stdout)β Returns the PEM encoded certificate. If no certificate is stored, then an empty string is returned. So if you get nothing, that's literally the empty-string situation, not a glitch. π«Ά
π«Ά COMMON OPTIONS π«Ά
This collection of options are common to all tss2 programs and provide information that many users may expect.
-h,--help [man|no-man]β Display the tools manpage. By default, it attempts to invoke the manpager for the tool, however, on failure will output a short tool summary. This is the same behavior if the βmanβ option argument is specified, however if explicit βmanβ is requested, the tool will provide errors from man on stderr. If the βno-manβ option if specified, or the manpager fails, the short options will be output to stdout.
To successfully use the manpages feature requires the manpages to be installed or onMANPATH, Seeman(1)for more details. π
-v,--versionβ Display version information for this tool, supported tctis and exit. Slay, version check, bye. β¨
π EXAMPLE π
tss2_getcertificate --path=HS/SRK/myRSACrypt --x509certData=x509certData.file
β RETURNS β
0 on success or 1 on failure. That's it. Periodt. π
π BUGS π
Github Issues β take it there, bestie. π
π HELP π
See the Mailing List β the mailing list is the spot. π¬
π License π
This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). Iconic and legal, honestly. π
mwah π β this cutie is from tpm2-tools, dated APRIL 2019, and it's the tss2_getcertificate(1) page. bye bestie π«Ά
π¦ where this page comes from
- arch rolling: tpm2-tools 5.8-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms