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 (sst) file to an actual store. Below is an example powershell script to accomplish it:



$certs = new-object


$store = new-object -argumentlist "AuthRoot", LocalMachine



Comments (1)
  1. kai says:

    do you know howto import an exisiting certificate into a sst-file?


Comments are closed.

Skip to main content