Reply To: How for deploying an Application on a Windows Server


Hello Arun,
The logs you posted do not contain the relevant entries.

  • Make sure the certificate from IIS is from a trusted certificate authority or is added to the Trusted Root Certificate Store. This is a common cause for the error you’ve described
  • If the above does not resolve your issue configure the application with the appropriate LogLevel and reproduce the error you’ve described so the relevant entries gets written to the logs

Configure LogLevel from appsettings.json file:

"LogLevel": {
      "Default": "Debug",
      "Microsoft": "Debug",
      "Microsoft.Hosting.Lifetime": "Debug"