tss2_setcertificate.1 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. .\" Automatically generated by Pandoc 1.19.2.4
  2. .\"
  3. .TH "tss2_setcertificate" "1" "APRIL 2019" "tpm2\-tools" "General Commands Manual"
  4. .hy
  5. .SH NAME
  6. .PP
  7. \f[B]tss2_setcertificate\f[](1) \-
  8. .SH SYNOPSIS
  9. .PP
  10. \f[B]tss2_setcertificate\f[] [\f[I]OPTIONS\f[]]
  11. .SH SEE ALSO
  12. .PP
  13. \f[B]fapi\-config(5)\f[] to adjust Fapi parameters like the used
  14. cryptographic profile and TCTI or directories for the Fapi metadata
  15. storages.
  16. .PP
  17. \f[B]fapi\-profile(5)\f[] to determine the cryptographic algorithms and
  18. parameters for all keys and operations of a specific TPM interaction
  19. like the name hash algorithm, the asymmetric signature algorithm, scheme
  20. and parameters and PCR bank selection.
  21. .SH DESCRIPTION
  22. .PP
  23. \f[B]tss2_setcertificate\f[](1) \- This command associates an x509
  24. certificate in PEM encoding into the path of a key.
  25. .SH OPTIONS
  26. .PP
  27. These are the available options:
  28. .IP \[bu] 2
  29. \f[B]\-p\f[], \f[B]\-\-path\f[]=\f[I]STRING\f[]:
  30. .RS 2
  31. .PP
  32. Identifies the entity to be associated with the certificate.
  33. .RE
  34. .IP \[bu] 2
  35. \f[B]\-i\f[], \f[B]\-\-x509certData\f[]=\f[I]FILENAME\f[] or \f[I]\-\f[]
  36. (for stdin):
  37. .RS 2
  38. .PP
  39. The PEM encoded certificate.
  40. Optional parameter.
  41. If omitted, then the stored x509 certificate is removed.
  42. .RE
  43. .SH COMMON OPTIONS
  44. .PP
  45. This collection of options are common to all tss2 programs and provide
  46. information that many users may expect.
  47. .IP \[bu] 2
  48. \f[B]\-h\f[], \f[B]\-\-help [man|no\-man]\f[]: Display the tools
  49. manpage.
  50. By default, it attempts to invoke the manpager for the tool, however, on
  51. failure will output a short tool summary.
  52. This is the same behavior if the "man" option argument is specified,
  53. however if explicit "man" is requested, the tool will provide errors
  54. from man on stderr.
  55. If the "no\-man" option if specified, or the manpager fails, the short
  56. options will be output to stdout.
  57. .RS 2
  58. .PP
  59. To successfully use the manpages feature requires the manpages to be
  60. installed or on \f[I]MANPATH\f[], See \f[B]man\f[](1) for more details.
  61. .RE
  62. .IP \[bu] 2
  63. \f[B]\-v\f[], \f[B]\-\-version\f[]: Display version information for this
  64. tool, supported tctis and exit.
  65. .SH EXAMPLE
  66. .IP
  67. .nf
  68. \f[C]
  69. tss2_setcertificate\ \-\-path=HS/SRK/myRSACrypt\ \-\-x509certData=x509certData.file
  70. \f[]
  71. .fi
  72. .SH RETURNS
  73. .PP
  74. 0 on success or 1 on failure.
  75. .SH BUGS
  76. .PP
  77. Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
  78. .SH HELP
  79. .PP
  80. See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)