Proxy server failing when attempting to access over HTTPS #962
Unanswered
eat-sleep-code
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to setup a proxy server to pass requests made to one server, to another. I am having a bit of trouble getting this to work on HTTPS.
The server is a VM running Windows Server 2019.
This is my program:
I created an self-signed cert by executing the following lines at the Command Prompt:
I copied the files that the above steps created to my projects
/ssl
folder.When I make a request to http://proxyaddress:3000/proxy/login , it loads but ultimately fails due to the proxied target's CSP wanting https://
When I make a request to https://proxyaddress:3000/proxy/login the program never loads, no request gets written to the console from via the morgan middleware, and Chrome displays a good old:
When I run curl, I get...
Can anyone point me in the direction of what I might be able to do to get this working?
Beta Was this translation helpful? Give feedback.
All reactions