tpm2_certifyX509certutil(1)
π NAME π
okay so this is tpm2_certifyX509certutil(1) β the manual page for the tool that does Generate partial X509 certificate. Itβs giving βtiny cert builder with main character energy,β and weβre obsessed. π
β¨ SYNOPSIS β¨
tpm2_certifyX509certutil [OPTIONS]
thatβs the whole vibe, bestie: tool name plus options. π
πΈ DESCRIPTION πΈ
tpm2_certifyX509certutil(1) generates a partial certificate that is suitable as the third input parameter for the TPM2_certifyX509 command. The certificate data is written into a file in DER format and can be examined using the openssl asn1parse tool as follows:
openssl asn1parse -in partial_cert.der -inform DER
like, it makes the partial cert, drops it in DER, and lets you peek at it with openssl. slay. π¦
π¦ OPTIONS π¦
These are the available options:
-o,--outcert=STRINGβ The output file where the certificate will be written to. The default ispartial_cert.der. Optional parameter. π-d,--days=NUMBERβ The number of days the certificate will be valid starting from today. The default is3560(10 years). Optional parameter. β-i,--issuer=STRINGβ TheISSUERentry for the cert in the following format:βissuer=βC=US;O=org;OU=Org unit;CN=cnameβ. Supported fields are:Cβ βCountryβ, max size =2Oβ βOrgβ, max size =8OUβ βOrg Unitβ, max size =8CNβ βCommon Nameβ, max size =8The files need to be separated with semicolon. At list one supported field is required for the option to be valid. Optional parameter. πΈ
-s,--subject=STRINGβ TheSUBJECTfor the cert in the following format:βsubject=βC=US;O=org;OU=Org unit;CN=cnameβ. Supported fields are:Cβ βCountryβ, max size =2Oβ βOrgβ, max size =8OUβ βOrg Unitβ, max size =8CNβ βCommon Nameβ, max size =8The files need to be separated with semicolon. At list one supported field is required for the option to be valid. Optional parameter. π
ARGUMENTβ No arguments required. β¨
π References π
The original has this heading and thenβ¦ nothing listed under it. Empty-section realness, preserved with love. π«Ά
π COMMON OPTIONS π
This collection of options are common to many programs and provide information that many users may expect β yes bestie, group-chat-common options, the ones lots of tools share. π
-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 themanoption argument is specified, however if explicitmanis requested, the tool will provide errors from man on stderr. If theno-manoption 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. π-V,--verboseβ Increase the information that the tool prints to the console during its execution. When using this option the file and line number are printed. π₯-Q,--quietβ Silence normal tool output to stdout. π€«-Z,--enable-errataβ Enable the application of errata fixups. Useful if an errata fixup needs to be applied to commands sent to the TPM. Defining the environmentTPM2TOOLS_ENABLE_ERRATAis equivalent. β-z,--pwd-sessionβ Use password session instead of a HMAC session for authentication. A clear text password is passed to the TPM to authorize the action. This option can be used to avoid problems when unsalted sessions are used in OpenSSL FIPS mode. If auth values are used a salted session should be used for authentication. π-R,--autoflushβ Enable autoflush for transient objects created by the command. If a parent object is loaded from a context file also the transient parent object will be flushed. Autoflush can also be activated if the environment variableTPM2TOOLS_AUTOFLUSHis is set toyesortrue. (Yes, the original literally has βis isβ β we keep the lore.) information many users may expect. π
Also, the original bullet trails off with βinformation many users may expect.β β no cap, weβre preserving that little stray phrase too. π«Ά
π₯ EXAMPLES π₯
tpm2 certifyX509certutil -o partial_cert.der -d 356
Yep, this example spells it tpm2 certifyX509certutil exactly like the original β we donβt fix, we preserve. π
π Returns π
Tools can return any of the following codes:
0β Success. π1β General non-specific error. π2β Options handling error. π3β Authentication error. π4β TCTI related error. π5β Non supported scheme. Applicable totpm2_testparams. π
π BUGS π
Github Issues
π«Ά HELP π«Ά
See the Mailing List
π License π
This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
Source/version vibes: tpm2-tools Β· page: tpm2_certifyX509certutil(1) Β· date: the original footer has no date, so weβre not inventing one, bestie. Signed off with sparkle and zero cap. πβ¨
π¦ 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