“Invalid provider type specified” CryptographicException when accessing the PrivateKey property of a certificate in C#/.Net
We recently encountered this in a production environment: A customer had installed a new certificate, and this exception began showing up in the logs. Luckily, the application was smart enough to at least fall back on using the previous (not yet expired) certificate, so no downtime occurred. Turns out the customer had been provided with […]