Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Wrong values in X509AddX501Name?  #35

Description

@rndmcgu11

File: File https://github.com/microsoft/RIoT/blob/master/Reference/RIoT/RIoTCrypt/x509bldr.c

Function X509GetDERCsrTbs, Line 470:

CHK( X509AddX501Name(Context, TbsData->IssuerCommon, TbsData->IssuerOrg, TbsData->IssuerCountry));

According to my understanding of CERTIFICATE SIGNING REQUESTS, here the SUBJECT values
(TbsData->SubjectCommon, TbsData->SubjectOrg and TbsData->SubjectCountry) must be filled in, not the ISSUER values. ISSUER values will be done by CA when it creates a CERTIFICATE
from the CERTIFICATE SIGNING REQUEST.

Activity

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