Skip to content

Certificate Chain Validation Tool #85

Open

Description

@steven-bellock

This is a proposal for a certificate chain validation tool for device vendors generating certificate chains that follow DMTF / TCG / OCP Security specifications. In this context "standalone" means that the certificate chain itself is the primary input to the tool. The tool would perform standard certificate chain checks. In addition it would also check

  • for the presence of mandatory OIDs and fields
  • for the absence of forbidden OIDs and fields
  • that the certificate chain is encoded correctly

against the relevant DMTF / TCG / OCP Security specifications. The specifications of interest include

  1. IETF RFC5280
  2. DMTF DSP274
  3. TCG DICE Attestation Architecture
  4. TCG DICE Concise Evidence Binding for SPDM

Activity

  1. alistair23 commented on Dec 16, 2025

    @alistair23
    Contributor

    SPDM-Utils has support for this, it's not standalone, but it shouldn't be too hard to make it standalone

  2. steven-bellock commented on Dec 16, 2025

    @steven-bellock
    CollaboratorAuthor

    Does x509_parser have strict DER checking? Ie, it would flag something like DMTF/libspdm#3419 if it was improperly DER-encoded?

  3. alistair23 commented on Dec 17, 2025

    @alistair23
    Contributor

    Ah, that's interesting.

    We wouldn't catch that, we leave SPDM spec checks to libspdm and are only checking "TCG DICE Concise Evidence Binding for SPDM" compliance.

    x509_parser doesn't seem to have strict checking, but we could implement a validator to check things like that.

  4. steven-bellock commented on Feb 4, 2026

    @steven-bellock
    CollaboratorAuthor

    chipsalliance/caliptra-dpe#513 provides additional motivation.

  5. bluegate010 commented on Feb 24, 2026

    @bluegate010
    Collaborator

    +1 to using an existing foundation if one is nearly there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions