0

I have created two sites in IIS one that that is on https://{host}:443 and the other on https://{host}:444.

The webapplication running on 443 is a proxy, that redirects request to port 444. My problem is that when I try to redirect to the 444 page I get this error

Request: An error was encountered before receiving a response.System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
 ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..

I am sure I understand how I resolve this ssl certificate issue?

I am not Fat
  • 283
  • 11
  • 36
  • Does this answer your question? [An existing connection was forcibly closed by the remote host](https://stackoverflow.com/questions/2582036/an-existing-connection-was-forcibly-closed-by-the-remote-host) – riffnl Nov 29 '22 at 13:46
  • nope.. not sure what specific should help.- The site is setup via iis – I am not Fat Nov 29 '22 at 14:02
  • What certificate are you using? You will have to configure the web app (YARP?) to trust the certificate at port 444 or no connection can be made. – Lex Li Nov 29 '22 at 16:54
  • Its just https, but how do i tell my application, or IIS that it can be trusted? The browser does not ask me, and yarp refuses to connect – I am not Fat Nov 29 '22 at 19:11
  • What error code did you get? You can enable detailed errors for your site in IIS, please post details about this. – YurongDai Nov 30 '22 at 06:34

0 Answers0