I want to use Fiddler to redirect URL requests from: "https://pstatic.fo.local:8088/....." to "https://127.0.0.1:8088/...."
For example, a request to "https://servername:8088/hello/world/index.html" will be redirected to "https://127.0.0.1:8088/hello/world/index.html".
I read the following post: Fiddler: Creating an AutoResponse rule to map all calls to one host to another host
and I used Rule Editor to do this redirect:
It didn't succeed. I also tried:
regex:https://pstatic.fo.local:8088/(.*) --> https://127.0.0.1:8088/$1
regex:https://pstatic.fo.local:8088/(.*) --> https://127.0.0.1:8088/$0
Whenever I enter the browser and type: https://pstatic.fo.local:8088/hello/world/index.html
I get the following in the browser:
Your connection is not private
Attackers might be trying to steal your information from pstatic.fo.local (for example, passwords, messages, or credit cards). NET::ERR_CERT_COMMON_NAME_INVALID
Do you know what I can do to make it work?