Deploying an ASP.NET Core 3.0 / React app with authentication to a client's IIS web server and get HTTP Error 500.0 - ANCM In-Process Handler Load Failure error. How do I properly deploy this app?
I do not have enough reputation points to post more than 8 links so I had to leave out links to posts and docs I used when troubleshooting this problem.
I am completely new to ASP.NET Core, IIS, certificates, and deployment so I am not sure how to properly deploy this app. I am likely not implementing the certificate settings properly, but I am not sure if that is the actual problem.
Here is my process:
I created app using:
$ dotnet new react -o output_directory_name -au Individual
following the instructions in Microsoft docs.
I published the project from Visual Studio to a local folder. Here is the web.config file. The client already has a website created so I copied the published files to the site's folder.
Using youtube videos and another post on SO, I tried setting the site's certificate requirements. I don't believe I have them set properly.
Here are some screenshots to illustrate how the project and site are set up. I replaced sensitive values with dummy values in red and tried to be consistent if a value occurs more than once.
The appsettings.json file. I have tried numerous entries for "Key" based on other posts and docs. Not completely sure what value I should be entering for "Name". I also tried setting "Key" to a file as mentioned in another SO post.
The website I am trying to deploy and the server certificates.
Certificate already set for the website by the client.
Details of the certificate.
SSL settings for the site. This is how the settings were when I first tried deploying. I checked Require SSL and tried the various Client certificates options when trying to run the app.
AspNetCoreModuleV2 hosting bundle is installed.
Application pool settings for the app.
I have been going in circles for several days so any help is greatly appreciated.
Thank You!