After the browser has set up the proxy server, it cannot access https

writes a proxy service in nodejs.
adopts the man-in-the-middle mode. The
service itself is first of all http,
the browser proxy address is set to the service address port, the
http address can be accessed normally, while the https address seems to have no request (the service backend cannot receive a request),

I changed the service to the https, browser trust certificate again, and
is not accessible at all.

cancels the proxy setting of the browser, and writes the service address directly by manual method. Https://localhost/
http and https can all be accessed normally,
but this cannot be used

.

I have changed the code that adopts connect mode (I don"t know the knowledge of this part). It is a http service
that can access https and http normally.

I upgraded it to https,
and it turned out to be all inaccessible.

Mar.25,2021
Menu