Hello Everyone,
I was able to deploy my website to the production host (www.smarterasp.org). I bought a ssl certificate with them. If I configure my appsettings.json as seen below and manually copy my certificate (pfx) ito the wwwroot folder all works. How would I now configure my IdentityServer in appsettings.json to use not the physical file certificate (pfx) but use the certificate from the store of my Host? I attached a sample I found for Azure, but not sure how to configure it exactly?
Any help would help me greatly! Thanks, Kind blessings, Andreas
"IdentityServer": {
"Key": {
"Type": "File",
"FilePath": "wwwroot\\www.xxxx.com.pfx",
"Password": "123456"
},
"Clients": {
"xxxx.Client": {
"Profile": "IdentityServerSPA"
}
}
},
Azure:
"IdentityServer": {
"Key": {
"Type": "Store",
"StoreName": "My",
"StoreLocation": "CurrentUser",
"Name": "CN=yourApp-domain.com"
}
}