How to redirect an HTTP URL to HTTPS in Windows?
I need to force a program on my Windows 10 to use HTTPS when connecting to its server because HTTP version of that address is blocked on my network. I basically need to add an "S" to the URL. I know the address it needs to connect to, i've been using Fiddler to monitor the requests, is it possible to do this using Fiddler? apparently it's impossible to do it with Windows hosts file.
networking windows-10 https
add a comment |Â
I need to force a program on my Windows 10 to use HTTPS when connecting to its server because HTTP version of that address is blocked on my network. I basically need to add an "S" to the URL. I know the address it needs to connect to, i've been using Fiddler to monitor the requests, is it possible to do this using Fiddler? apparently it's impossible to do it with Windows hosts file.
networking windows-10 https
add a comment |Â
I need to force a program on my Windows 10 to use HTTPS when connecting to its server because HTTP version of that address is blocked on my network. I basically need to add an "S" to the URL. I know the address it needs to connect to, i've been using Fiddler to monitor the requests, is it possible to do this using Fiddler? apparently it's impossible to do it with Windows hosts file.
networking windows-10 https
I need to force a program on my Windows 10 to use HTTPS when connecting to its server because HTTP version of that address is blocked on my network. I basically need to add an "S" to the URL. I know the address it needs to connect to, i've been using Fiddler to monitor the requests, is it possible to do this using Fiddler? apparently it's impossible to do it with Windows hosts file.
networking windows-10 https
networking windows-10 https
asked yesterday
Stephan
781113
781113
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
It is possible to use Fiddler for that, as described in the article
FiddlerâÂÂs custom rules â how to replace protocol or domain in fiddler:
Open âÂÂCustom rulesâÂÂ, find this method
static function OnBeforeRequest(oSession: Session)
add to the beginning of the method the following code:
// Custom rules:
if (oSession.HostnameIs("mikitamanko.com")
|| oSession.HostnameIs("google.com")
|| oSession.HostnameIs("bing.com"))
oSession.fullUrl = "https" + oSession.fullUrl.Substring(oSession.fullUrl.IndexOf(':'));
This will replace protocol for sites listed in code.
A hacking solution would be to use a hex editor to modify the URL in the
program's .exe
file.
A list of hex editors can be found in the article
Best Free Hex Editor.
This will work only if the program is not digitally signed.
Thank you so much, worked perfect. btw does running Fiddler in the background all time cause any performance issue ? such as in networking, ping times or overall performance?
â Stephan
yesterday
1
It adds one more waypoint for your requests, so will slow them down, but the delay is probably only measured in milliseconds.
â harrymc
yesterday
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It is possible to use Fiddler for that, as described in the article
FiddlerâÂÂs custom rules â how to replace protocol or domain in fiddler:
Open âÂÂCustom rulesâÂÂ, find this method
static function OnBeforeRequest(oSession: Session)
add to the beginning of the method the following code:
// Custom rules:
if (oSession.HostnameIs("mikitamanko.com")
|| oSession.HostnameIs("google.com")
|| oSession.HostnameIs("bing.com"))
oSession.fullUrl = "https" + oSession.fullUrl.Substring(oSession.fullUrl.IndexOf(':'));
This will replace protocol for sites listed in code.
A hacking solution would be to use a hex editor to modify the URL in the
program's .exe
file.
A list of hex editors can be found in the article
Best Free Hex Editor.
This will work only if the program is not digitally signed.
Thank you so much, worked perfect. btw does running Fiddler in the background all time cause any performance issue ? such as in networking, ping times or overall performance?
â Stephan
yesterday
1
It adds one more waypoint for your requests, so will slow them down, but the delay is probably only measured in milliseconds.
â harrymc
yesterday
add a comment |Â
It is possible to use Fiddler for that, as described in the article
FiddlerâÂÂs custom rules â how to replace protocol or domain in fiddler:
Open âÂÂCustom rulesâÂÂ, find this method
static function OnBeforeRequest(oSession: Session)
add to the beginning of the method the following code:
// Custom rules:
if (oSession.HostnameIs("mikitamanko.com")
|| oSession.HostnameIs("google.com")
|| oSession.HostnameIs("bing.com"))
oSession.fullUrl = "https" + oSession.fullUrl.Substring(oSession.fullUrl.IndexOf(':'));
This will replace protocol for sites listed in code.
A hacking solution would be to use a hex editor to modify the URL in the
program's .exe
file.
A list of hex editors can be found in the article
Best Free Hex Editor.
This will work only if the program is not digitally signed.
Thank you so much, worked perfect. btw does running Fiddler in the background all time cause any performance issue ? such as in networking, ping times or overall performance?
â Stephan
yesterday
1
It adds one more waypoint for your requests, so will slow them down, but the delay is probably only measured in milliseconds.
â harrymc
yesterday
add a comment |Â
It is possible to use Fiddler for that, as described in the article
FiddlerâÂÂs custom rules â how to replace protocol or domain in fiddler:
Open âÂÂCustom rulesâÂÂ, find this method
static function OnBeforeRequest(oSession: Session)
add to the beginning of the method the following code:
// Custom rules:
if (oSession.HostnameIs("mikitamanko.com")
|| oSession.HostnameIs("google.com")
|| oSession.HostnameIs("bing.com"))
oSession.fullUrl = "https" + oSession.fullUrl.Substring(oSession.fullUrl.IndexOf(':'));
This will replace protocol for sites listed in code.
A hacking solution would be to use a hex editor to modify the URL in the
program's .exe
file.
A list of hex editors can be found in the article
Best Free Hex Editor.
This will work only if the program is not digitally signed.
It is possible to use Fiddler for that, as described in the article
FiddlerâÂÂs custom rules â how to replace protocol or domain in fiddler:
Open âÂÂCustom rulesâÂÂ, find this method
static function OnBeforeRequest(oSession: Session)
add to the beginning of the method the following code:
// Custom rules:
if (oSession.HostnameIs("mikitamanko.com")
|| oSession.HostnameIs("google.com")
|| oSession.HostnameIs("bing.com"))
oSession.fullUrl = "https" + oSession.fullUrl.Substring(oSession.fullUrl.IndexOf(':'));
This will replace protocol for sites listed in code.
A hacking solution would be to use a hex editor to modify the URL in the
program's .exe
file.
A list of hex editors can be found in the article
Best Free Hex Editor.
This will work only if the program is not digitally signed.
answered yesterday
harrymc
253k12259562
253k12259562
Thank you so much, worked perfect. btw does running Fiddler in the background all time cause any performance issue ? such as in networking, ping times or overall performance?
â Stephan
yesterday
1
It adds one more waypoint for your requests, so will slow them down, but the delay is probably only measured in milliseconds.
â harrymc
yesterday
add a comment |Â
Thank you so much, worked perfect. btw does running Fiddler in the background all time cause any performance issue ? such as in networking, ping times or overall performance?
â Stephan
yesterday
1
It adds one more waypoint for your requests, so will slow them down, but the delay is probably only measured in milliseconds.
â harrymc
yesterday
Thank you so much, worked perfect. btw does running Fiddler in the background all time cause any performance issue ? such as in networking, ping times or overall performance?
â Stephan
yesterday
Thank you so much, worked perfect. btw does running Fiddler in the background all time cause any performance issue ? such as in networking, ping times or overall performance?
â Stephan
yesterday
1
1
It adds one more waypoint for your requests, so will slow them down, but the delay is probably only measured in milliseconds.
â harrymc
yesterday
It adds one more waypoint for your requests, so will slow them down, but the delay is probably only measured in milliseconds.
â harrymc
yesterday
add a comment |Â
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid â¦
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid â¦
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1388086%2fhow-to-redirect-an-http-url-to-https-in-windows%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown