title: Java access to intermediate CAs from Windows keystores?
body: <p>I need to build a certificate chain on Windows, from an X.509 smart card cert through one or more intermediate CAs to a root CA. That's easy when the CA certs are in a JKS keystore, but I need to use the Windows keystores as well.</p>
  
  <p>I can get the root CA cert from "Windows-ROOT", but I can't get to the "Intermediate Certification Authorities" keystore. </p>
  
  <p>Has anyone done this?</p>
  
  <p>Thanks!</p>