Skip to content

New-CertificateRequest: Custom Extensions #2

@Viajaz

Description

@Viajaz

It would be useful to be able to add my own extensions (X509Enrollment.CX509Extension ?) to a CSR (X509Enrollment.CX509CertificateRequestPkcs10 ?), perhaps as an array Parameter to the New-CertificateRequest Cmdlet that simply adds each array element as an extension ($CertificateRequestPkcs10.X509Extensions.Add())

My specific use-case is I'm creating a CSR for an OCSP Signing Certificate and need to add the id-pkix-ocsp-nocheck (1.3.6.1.5.5.7.48.1.5) extension as per RFC 6960.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions