Browse by Tags

Related Posts
  • Blog Post: PKCS7 (p7b) bag of certificates and powershell

    Recently I was asked how to extract the certificates within a PKCS7 (p7b) files using powershell. After a little research the following seems to work fine: [reflection.assembly]::LoadWithPartialName("System.Security") $data = [System.IO.File]::ReadAllBytes("certificates.p7b") $cms = new-object system...
  • Blog Post: Adding certificates for a serialized store (sst) file to an actual physical store

    In my previous post I used the CMS type to open a PKCS7. Apparently X509Certificate2Collection Import method can also be used to open up a PKCS7. This would be far more simpler then using CMS. Additionally, you might be asked to add the certificates you obtained from PKCS7 file or a serialized store...