Credential Specification Version Attribute¶
There is an attribute within the Platform Certificate where the exact version of specification is captured. In the definition of the attribute you'll see three integers where each part of the specification version should be found. PACCOR looks for that value within the Attributes JSON file and enforces requirements for that version on the rest of the platform certificate it generates.
TCG Certificate Specification definition¶
tcg-at-tcgCredentialSpecification = 2.23.133.4.23
tCGCredentialSpecification ATTRIBUTE ::= {
WITH SYNTAX TCGSpecificationVersion
ID tcg-at-tcgCredentialSpecification }
TCGSpecificationVersion ::= SEQUENCE {
majorVersion INTEGER,
minorVersion INTEGER,
revision INTEGER }
Review a certificate with paccor view¶
PACCOR's view command will tell you the version of an existing Platform Certificate.
paccor view example¶
Inputs¶
- Sample Attributes JSON: localhost-policyreference-v2.json
- Sample Certificate: platform_cert.20250909102720.crt
Steps¶
- Download these input files.
- Run
paccor view -X platform_cert.20250909102720.crt - Review the output for text that looks like:
Certificate Spec Version: 2.0 - Open the Attributes JSON in a text editor.
- Look for a line that says
"TCGCREDENTIALSPECIFICATION": { - Notice the
MAJORVERSIONvalue is2. - Notice the
MINORVERSIONvalue is0.
Check the version of Platform Certificate paccor will generate¶
- Open the Attributes JSON file.
- Look for these properties and notice how they relate to the spec definition:
If that doesn't exist, you'll need to create it or run the referenceoptions script.
Within that file you can find the TCGCREDENTIALSPECIFICATION key to review or change that value.
Attributes JSON¶
If you run the pc_certgen script, PACCOR will generate the Attributes JSON and choose a default version of
platform certificate to create.
First, look for this file:
If the Attributes JSON doesn't exist yet.¶
Check the referenceoptions script on your chosen platform, and review or edit these keys. Once the JSON is generated, PACCOR will not overwrite the Attributes JSON file.
Script to generate the Attributes JSON on your chosen platform:¶
Script property keys¶
tcgCredentialSpecificationMajorVersion
tcgCredentialSpecificationMinorVersion
tcgCredentialSpecificationRevision
Steps to change the version of the platform certificate paccor will create¶
The pc_certgen script will not overwrite an existing Attributes JSON file.
Follow the steps to check the version of the platform certificate paccor will generate.
You can either edit the JSON file, or delete it and edit the referenceoptions script.
Generate a 2.1 platform certificate¶
Follow these steps and set the properties to match the following.
tcgCredentialSpecificationMajorVersion="2" # Released Jan 27, 2026
tcgCredentialSpecificationMinorVersion="1"
tcgCredentialSpecificationRevision="0"
Generate a 1.1 platform certificate¶
Follow these steps and set the properties to match the following.