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-character path. πŸ‘‘
  • -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 on MANPATH, See man(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