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.
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 theNew-CertificateRequestCmdlet 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.