I have an asp.net MVC application running in a windows docker container. I’m having problems connecting to the application over https. http pages are running fine, but the application submits the log-in over https and I get a connection error when I try to connect via HTTPS. Any help would be appreciated.
Here is the docker file.
COPY ./QA/wwwroot/myapp /inetpub/wwwroot/myapp
RUN C:\windows\system32\inetsrv\appcmd add app /site.name:‘Default Web Site’ /path:/myapp /physicalPath:c:\inetpub\wwwroot\myapp
RUN C:\windows\system32\inetsrv\appcmd set site ‘Default Web Site’ /bindings:http/:80,https/:443
Running the last statement causes both port 80 (http) and 443 (https) to stop working. If I leave it out port 80 works.