title: FindByThumbprint - certificate exists but not found
body: <p>I am trying to add a certificate to a web request to connect to Azure services.</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>string certThumbprint = "‎‎thumbprint";
  X509Store certStore = new X509Store(StoreName.My, StoreLocation.CurrentUser);
  X509Certificate2Collection certCollection = certStore.Certificates.Find(
       X509FindType.FindByThumbprint, certThumbprint, false);
  </code></pre>
  
  <p>Now I can confirm that the certificate does exist and the thumbprint is correct. However <code>certCollection</code> comes back empty.</p>
  
  <p>Any ideas?   </p>
  
  <p>Update: here is how I open the cert store</p>
  
  <pre><code>certStore.Open(OpenFlags.ReadOnly);
  </code></pre>