I have an Azure App Service that uses ACS to log in, it is an MVC 5 site if that helps at all.
It needs a certificate, let's say the thumbprint is AF47AF47AF47AF47AF47AF47AF47AF47AF47AF47
Then I added the Application Setting > App Setting of WEBSITE_LOAD_CERTIFICATES/*:
Works great locally (of course) - when I load it up on Azure, I get:
Could not find service certificate: AF47AF47AF47AF47AF47AF47AF47AF47AF47AF47in the My store on CurrentUser HandlingInstanceID: 74429bcf-4e02-4e28-a261-329bf831f7ce An exception of type 'System.ArgumentNullException' occurred and was caught. ---------------------------------------------------------------------------- 06/27/2017 22:21:44 Type : System.ArgumentNullException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : Value cannot be null.
(Stack trace unavailable)
Any idea what I am missing? I have tried loading the certificate in my Application_Start() as well with no luck - I can post that code if anyone wants.