This is a migrated thread and some comments may be shown as answers.

Redirect https to http for ipad app

3 Answers 166 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Rodney
Top achievements
Rank 1
Rodney asked on 16 Nov 2015, 09:34 PM

Hello Everyone, 

I am a first time Fiddler user and I could use some help.
I have an ipad app hard coded to go to https://server1.com and i need it to go to http://server2.com

So I added...

if (oSession.HostnameIs("server1.com")) {
oSession.hostname="server2.com";
}

the app is hard coded to use https port 443 with server1, and server2 has https working with a self signed certificate  I think it is failing because of cert mismatch, i see it is tunneling to server2:443 in the capture, but still getting connection refused.

What is the easiest way to get this working?

Thanks in advance for any help you can provide.

Rodney

3 Answers, 1 is accepted

Sort by
0
Accepted
Eric Lawrence
Telerik team
answered on 16 Nov 2015, 10:39 PM
Hi, Rodney--

Have you configured your ipad to trust Fiddler's root certificate?

Have you successfully intercepted traffic (including HTTPS) from your IPad's browser (E.g. Safari) with this configuration?

Are you using Fiddler or FiddlerCore? If Fiddler, do you see a Certificate Error dialog box?

Regards,
Eric Lawrence
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Rodney
Top achievements
Rank 1
answered on 16 Nov 2015, 10:51 PM

Hi Eric, 

Thank you so much for your quick response. 

No, I did not add the fiddler root cert to the iPads.  I will do that now.  

Yes all traffic is showing in the session activity.  But, the protocols all show HTTP, the host is "tunnel to" but with port 443 on the URL.  When I turn on HTTPS decryption everything https stops working, ex. https://youtube.com

I am using Fiddler Web Debugger v4.6.1.5, no certificate errors dialog yet.

Rodney

0
Rodney
Top achievements
Rank 1
answered on 16 Nov 2015, 10:59 PM

That did it!!!  After enabling https decryption, and installing the root certificate on the ipad it does exactly what i need it to  :-)

Thank you so much Eric!  This is a great product.

 

Rodney

Tags
Fiddler Classic
Asked by
Rodney
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
Rodney
Top achievements
Rank 1
Share this question
or