-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
⌚ Not TriagedSource - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issue
Description
I am try to setup "Example: Deploy to a non-Azure web hosting provider" in application settings json but it does not work. It can not find certificate in store, many developer have same problem. Can you please investigate issue and add detailed topic how to setup IdentityServer in appsetting.production.json
"IdentityServer": {
// I just add .pfx file to hosted Blazor project and it work in Visual Studio, in prod IIS it show error404
"Key": {
"Type": "File",
"FilePath": "MyIdentityServer.pfx",
"Password": "P@ssw0rd"
}
// This not work in VS2019 or/and IIS , selfsigned cert created in iis or cert tool same issue cant find cert in certificate stores.
// "Key": {
// "Type": "Store",
// "StoreName": "WebHosting",
// "StoreLocation": "LocalMachine",
// "Name": "CN = MyIdentityServer"
// }
}
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 21cb7455-3305-9316-5440-bdc22947a82d
- Version Independent ID: 137d4b94-7b26-3911-b22d-42c754a95fc1
- Content: Introduction to authentication for Single Page Apps on ASP.NET Core
- Content Source: aspnetcore/security/authentication/identity-api-authorization.md
- Product: aspnet-core
- Technology: aspnetcore-security
- GitHub Login: @javiercn
- Microsoft Alias: scaddie
Metadata
Metadata
Assignees
Labels
⌚ Not TriagedSource - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issue