title: X509Certificate2 constructor throwing Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException: There is not enough space on the disk
body: <p>I am running into a similar issue that is described <a href="https://stackoverflow.com/questions/53617491/x509certificate2-constructor-throwing-there-is-not-enough-space-on-the-disk/63274144#63274144">here</a>.
  This is a .NET Core 3.1 App running as a Azure WebJob in Azure App Service.
  Based on the discussion in the above link, I assume this is an issue with file counts in a directory, I am having trouble figuring out which directory is getting full.
  The environments page on the Kudu portal shows this, basically doesn't seem to be a overall disk space issue-</p>
  <pre><code>D:\home usage: 57,344 MB total; 56,795 MB free
  d:\local usage: 11,264 MB total; 10,683 MB free
  
  </code></pre>
  <p>I also did look at the paths mentioned in the above link without much success.
  Is there a way to figure out which is the offending path, before I try the code fix suggested in the related issue?</p>
  <pre><code>
  [08/02/2020 09:20:53 &gt; 4708f0: INFO] Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException: There is not enough space on the disk.
  [08/02/2020 09:20:53 &gt; 4708f0: INFO]    at Internal.Cryptography.Pal.CertificatePal.FilterPFXStore(Byte[] rawData, SafePasswordHandle password, PfxCertStoreFlags pfxCertStoreFlags)
  [08/02/2020 09:20:53 &gt; 4708f0: INFO]    at Internal.Cryptography.Pal.CertificatePal.FromBlobOrFile(Byte[] rawData, String fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags)
  [08/02/2020 09:20:53 &gt; 4708f0: INFO]    at System.Security.Cryptography.X509Certificates.X509Certificate..ctor(Byte[] rawData, String password, X509KeyStorageFlags keyStorageFlags)
  [08/02/2020 09:20:53 &gt; 4708f0: INFO]    at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(Byte[] rawData, String password)
  </code></pre>