title: pem file from Microsoft serialized store (SST) files
body: <p>I have SST files form Microsoft which I need to add to a java truststore.</p>
  
  <p>The problem is all tools that Microsoft provides, add the certs from SST files to windows stores, so difficult to get PEM files form the SST files. If I run certmgr.exe (not certmgr.msc), I can get public key and all that but no cert (in pem or der), I saw bunch of VB scripts and powershell to load them using SST file into System.Security.Cryptography.X509Certificates.X509Certificate2Collection object, but still can't find a way to output as PEM (or der ) formated certificates.</p>
  
  <p>Any suggestions?</p>
  
  <p>S</p>