Insering Smart Card serial number into a csr (p10) using powershell RRS feed

  • Question

  • Is it possible to somehow insert the smart card serial number into a certificate request before it is sent for autoenrolment. On the MS client platform (W7 and W8) I would like to get the smartcard serial number (there are plenty of examples of that  with Java, c++ & c# but I have not seen any with powershell) and insert it as a (private??) extension into the cert request prior to it being sent to the CA during autoenrolment. Is there an AE API or something so that I can add any data as extensions to a PKCS#10 request.

    Saturday, August 9, 2014 3:05 PM

All replies