Azure Web Application new X509Certificate2() causing System.Security.Cryptography.CryptographicException: Access denied
问题 Right now I am uploading a .pfx file, taking in a password and calling var cert = new X509Certificate2(fileData, password); And storing things like the thumbprint, etc. I do not need to actually store this on the server, just validate that it is a valid cert and store some information. On local this works (obviously I have better access to my key store) but when I put it up in azure I get the error: System.Security.Cryptography.CryptographicException: Access denied. Is there any way to get