1
votes

I'm having the following issue with one of my webapps at Azure. It was working fine and suddenly I'm getting the following error, even though no changes were made to the webapps:

"Certificate with thumbprint 'XXXX' not found at APP.Security.CertificateEncryptionServiceProvider.FindCertificate(X509Store certStore, String thumbprint) at APP.Security.CertificateEncryptionServiceProvider.Decrypt(String thumbprint, String encryptedSetting) at APP.Configuration.CloudConfiguration.GetSetting"

The other web apps who are using the same certificates are working perfectly fine.

When I navigate to the KUDU powershell console https://MyAppThatHasProblems.scm.azurewebsites.net/DebugConsole/?shell=powershell and navigate to the Certificate Store

cd cert:/currentuser/my

I cannot see any certificate. If I do the same for any other working web app I can see my certificates listed. I tried to remove and add again the certificates, but no luck.

Anyone had a similar issue before?

1

1 Answers

2
votes

I have managed to solve the issue with the help of Azure Support. After a series of investigations on the app service they told me to scale up from S2 Standard to S3 Standard and then back to S2. Apparently this changes the virtual machine where the app service is hosted.

Problem fixed!