Redirect https to http for ipad app

4 posts, 1 answers
  1. Rodney
    Rodney avatar
    4 posts
    Member since:
    Nov 2015

    Posted 16 Nov 2015 Link to this post

    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

  2. Answer
    Eric Lawrence
    Admin
    Eric Lawrence avatar
    833 posts

    Posted 16 Nov 2015 Link to this post

    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
  3. Rodney
    Rodney avatar
    4 posts
    Member since:
    Nov 2015

    Posted 16 Nov 2015 in reply to Eric Lawrence Link to this post

    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

  4. Rodney
    Rodney avatar
    4 posts
    Member since:
    Nov 2015

    Posted 16 Nov 2015 in reply to Eric Lawrence Link to this post

    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

Back to Top