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

Decrypting SSL from apps on Android P DP2

10 Answers 361 Views
Mobile
This is a migrated thread and some comments may be shown as answers.
Khangaroo
Top achievements
Rank 1
Khangaroo asked on 21 May 2018, 02:09 AM
    Apparently, Google made some changes in later versions of Android that prevent the usage of user certificates in apps. Is there any way to bypass this? I am rooted, by the way.

10 Answers, 1 is accepted

Sort by
0
Simeon
Telerik team
answered on 22 May 2018, 08:26 AM
Hello,

Could you, please, elaborate on what your user scenario is. Are you using the FiddlerOrchestra client for Android? What is the Android version which you target?

Regards,
Simeon
Progress 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
Khangaroo
Top achievements
Rank 1
answered on 22 May 2018, 03:55 PM
The app I'm debugging is not mine, and I'm not sure what the FiddlerOrchestra client for Android is. I've just been using regular Fiddler 4 on Windows as a reverse proxy.
0
Khangaroo
Top achievements
Rank 1
answered on 22 May 2018, 09:00 PM
Actually, I upgraded to 5 and downloaded the APK for Fiddler Orchestra, but the app gets stuck on connecting now. I tried connecting through the Windows client and that worked fine.
0
Khangaroo
Top achievements
Rank 1
answered on 22 May 2018, 09:08 PM
(by app, I mean Fiddler. Too bad there's no edit function!)
0
Simeon
Telerik team
answered on 28 May 2018, 08:30 AM
Hello,

the app gets stuck on connecting now could mean that there is a network connectivity problem. For example, the FiddlerOrchestra and the Android app could be in different IP networks without connectivity or the port which you are using by FiddlerOrchestra could be blocked by the router.

Regards,
Simeon
Progress 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
Denis
Top achievements
Rank 1
answered on 24 Jul 2018, 03:52 PM

Hi guys,

I have the same problem with Fiddler (v5.0) app and Android 8.0 (there is no problem with Android 5 and lower).

I tried to sniffer web traffic from smartphone but could not. Fiddler can sniffer only 'Tunnel to' connections.

The phone and PC works in the same IP network.

So is there any solution to fix this?

Thanks

0
Alexander
Telerik team
answered on 30 Jul 2018, 05:17 AM
Hello,

Did you turn on the "Decrypt HTTPS traffic" option in Tools -> Options -> HTTPS?

Regards,
Alexander
Progress 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
Denis
Top achievements
Rank 1
answered on 02 Aug 2018, 09:31 AM

Hello Alexander,

yes sure I did it.

I installed Fiddler app on my PC. I also have two mobile phones (one with Android v5, another with Android v8).

I installed the same certificate for both phones. And I set the same proxy settings to them.

I can see all requests for the phone with Android v5.

But I don't see requests for the phone with Android v8. There are only 'Tunnel to' connections.

 

It seems I found the answer for this problem:

"In Android 7 all apps that target API Level 24 and later will ignore all user-installed root certificates by default. I cannot find information if this changed in Android 8 so I assume it is still valid. Only app developers can override this behavior for their app only and from what I'm reading the app you are trying to debug is yours. You can find more information about how to do it here."

https://www.telerik.com/forums/unable-to-capture-only-https-traffic-of-android-mobile-application

 

Does it mean I cannot use Fiddler with Android 7 and higher?

Thanks

0
Alexander
Telerik team
answered on 02 Aug 2018, 11:16 AM
Hello Denis,

Rather unfortunately, it seems so. At least with the described apps (API 24 and up). I assume that it is somehow possibe to workaround this using rooting, but I haven't came across to any solution yet.

Regards,
Alexander
Progress 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
Denis
Top achievements
Rank 1
answered on 02 Aug 2018, 12:43 PM

OK,

Thank you Alexander!

Tags
Mobile
Asked by
Khangaroo
Top achievements
Rank 1
Answers by
Simeon
Telerik team
Khangaroo
Top achievements
Rank 1
Denis
Top achievements
Rank 1
Alexander
Telerik team
Share this question
or