title: Find physical path to public certificate in Windows Server 2003 LocalMachine/My store
body: <p>I am trying to find the file system path to a public key that was imported into the LocalMachine/My (personal) cert store so that I can grant read &amp; execute permissions to a custom App_pool account. I tried using <code>findprivatekey.exe</code> and <code>winhttpcertcfg.exe</code> with no luck.  Here is the path I have so far, just don't know which one to apply the permissions to.</p>
  
  <blockquote>
    <p>C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys</p>
  </blockquote>
  
  <p><code>findprivatekey.exe</code> always fails to locate the cert.</p>
  
  <p><code>winhttpcertcfg -l -c LOCAL_MACHINE\My -s MyCertificate</code>  returns with  </p>
  
  <blockquote>
    <p>Access was not successfully obtained for the private key.  this can only be done by the user who installed the certificate.</p>
  </blockquote>
  
  <p>However, I installed the cert so I think it has to do with the fact its not a private cert but a public one.</p>
  
  <p>Any advice...?  Also, this is on Windows Server 2003</p>