title: X509Store location for .NetCore on Linux systems
body: <p>I've recently discovered the <em>[System.Security.Cryptography.X509Certificates.X509Store]</em> class in .NetCore.</p>
  
  <p>So I tried some basic interaction with PowerShell to import PFX certificate files. This really simplifies working with certificates in cross-platform scenarios :D</p>
  
  <pre><code>$cert = Get-PFXCertificate -FilePath '~/myCert.pfx'
  $Store = [System.Security.Cryptography.X509Certificates.X509Store]::new('My')
  $Store.Open('ReadWrite')
  $Store.Add($cert)
  $Store.Certificates
  $Store.Close()
  </code></pre>
  
  <p>Where can I find this store on a Linux system? Is there a specific file per store (MY, Root)? </p>
  
  <h2>Solution</h2>
  
  <p>.NetCore / corefx related user certificate store is located in:</p>
  
  <pre><code>~/.dotnet/corefx/cryptography/x509stores/*
  </code></pre>