i have a code snippet like this in Startup.cs that is looking for a certificate.
X509Store certStore = new X509Store(StoreName.My, StoreLocation.CurrentU