Using Certificates for OpenID on Orchard Core Hosted in Azure

Let’s say you are working with an Orchard Core web application Hosted in Azure and want to configure the OpenId feature to use JWT tokens.

Then, assuming you have uploaded your certificate to the SSL settings page of the azure portal, when you navigate to the OpenId configuration page to select the certificate, you realise it isn’t there when it’s supposed to be, under CurrentUser > My certificate store.

If this is the case, the solution might be to simply add a new entry to the app settings with the following:

Key: WEBSITE_LOAD_CERTIFICATES
Value: [Thumbprint of the certificate uploaded to Azure.]

After saving the changes on the Azure portal, you should be able to select your certificate from drop down in the OpenId settings page.

Hope you find this useful.

Share
© 2019 js 231 sp All Rights Reserved.
Theme by hiero