Charles Proxy blocking SSL traffic on Android











up vote
1
down vote

favorite












Been using Charles Proxy for years now but recently I've been having issues setting up my Android device.



Certificates have been installed on the Android device. I've confirmed they are in fact listed as trusted certificates in my certificates list. Everything is setup correctly, but SSL traffic continues to be blocked.



I've tried reaching out for support, but they don't ever respond.



Has anybody had this issue before?










share|improve this question






















  • Do you have a network security config file in place? Please refer: developer.android.com/training/articles/security-config. I am using Charles every day and I don't have any issues. Also, it won't work on release build because debuggable option will be false.
    – PSK
    Nov 7 at 21:29












  • If you just want to track network traffic you can do that with the new network profiler introduced in Android Studio 3: developer.android.com/studio/profile/network-profiler
    – memresubasi
    Nov 8 at 8:03















up vote
1
down vote

favorite












Been using Charles Proxy for years now but recently I've been having issues setting up my Android device.



Certificates have been installed on the Android device. I've confirmed they are in fact listed as trusted certificates in my certificates list. Everything is setup correctly, but SSL traffic continues to be blocked.



I've tried reaching out for support, but they don't ever respond.



Has anybody had this issue before?










share|improve this question






















  • Do you have a network security config file in place? Please refer: developer.android.com/training/articles/security-config. I am using Charles every day and I don't have any issues. Also, it won't work on release build because debuggable option will be false.
    – PSK
    Nov 7 at 21:29












  • If you just want to track network traffic you can do that with the new network profiler introduced in Android Studio 3: developer.android.com/studio/profile/network-profiler
    – memresubasi
    Nov 8 at 8:03













up vote
1
down vote

favorite









up vote
1
down vote

favorite











Been using Charles Proxy for years now but recently I've been having issues setting up my Android device.



Certificates have been installed on the Android device. I've confirmed they are in fact listed as trusted certificates in my certificates list. Everything is setup correctly, but SSL traffic continues to be blocked.



I've tried reaching out for support, but they don't ever respond.



Has anybody had this issue before?










share|improve this question













Been using Charles Proxy for years now but recently I've been having issues setting up my Android device.



Certificates have been installed on the Android device. I've confirmed they are in fact listed as trusted certificates in my certificates list. Everything is setup correctly, but SSL traffic continues to be blocked.



I've tried reaching out for support, but they don't ever respond.



Has anybody had this issue before?







android charles charles-proxy






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 7 at 20:56









Jorge Rocha

61




61












  • Do you have a network security config file in place? Please refer: developer.android.com/training/articles/security-config. I am using Charles every day and I don't have any issues. Also, it won't work on release build because debuggable option will be false.
    – PSK
    Nov 7 at 21:29












  • If you just want to track network traffic you can do that with the new network profiler introduced in Android Studio 3: developer.android.com/studio/profile/network-profiler
    – memresubasi
    Nov 8 at 8:03


















  • Do you have a network security config file in place? Please refer: developer.android.com/training/articles/security-config. I am using Charles every day and I don't have any issues. Also, it won't work on release build because debuggable option will be false.
    – PSK
    Nov 7 at 21:29












  • If you just want to track network traffic you can do that with the new network profiler introduced in Android Studio 3: developer.android.com/studio/profile/network-profiler
    – memresubasi
    Nov 8 at 8:03
















Do you have a network security config file in place? Please refer: developer.android.com/training/articles/security-config. I am using Charles every day and I don't have any issues. Also, it won't work on release build because debuggable option will be false.
– PSK
Nov 7 at 21:29






Do you have a network security config file in place? Please refer: developer.android.com/training/articles/security-config. I am using Charles every day and I don't have any issues. Also, it won't work on release build because debuggable option will be false.
– PSK
Nov 7 at 21:29














If you just want to track network traffic you can do that with the new network profiler introduced in Android Studio 3: developer.android.com/studio/profile/network-profiler
– memresubasi
Nov 8 at 8:03




If you just want to track network traffic you can do that with the new network profiler introduced in Android Studio 3: developer.android.com/studio/profile/network-profiler
– memresubasi
Nov 8 at 8:03












1 Answer
1






active

oldest

votes

















up vote
0
down vote














Everything is setup correctly, but SSL traffic continues to be blocked.




Sometimes I used to see red cross on SSL requests coming from Android. I was unable to read the content. It started working fine for me after I setup the SSP Proxy Settings option. I checked the Enable SSL Proxying option as shown in the image and added the wildcard URL's that I want to filter. Eg: *.your-server-url.com



enter image description here



Update:



Also I don't think you can do it in release build of your application.



And for Android N and above there have been these changes you'll need to include in your project for it to work: https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/



Hope this helps a bit.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53197681%2fcharles-proxy-blocking-ssl-traffic-on-android%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote














    Everything is setup correctly, but SSL traffic continues to be blocked.




    Sometimes I used to see red cross on SSL requests coming from Android. I was unable to read the content. It started working fine for me after I setup the SSP Proxy Settings option. I checked the Enable SSL Proxying option as shown in the image and added the wildcard URL's that I want to filter. Eg: *.your-server-url.com



    enter image description here



    Update:



    Also I don't think you can do it in release build of your application.



    And for Android N and above there have been these changes you'll need to include in your project for it to work: https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/



    Hope this helps a bit.






    share|improve this answer



























      up vote
      0
      down vote














      Everything is setup correctly, but SSL traffic continues to be blocked.




      Sometimes I used to see red cross on SSL requests coming from Android. I was unable to read the content. It started working fine for me after I setup the SSP Proxy Settings option. I checked the Enable SSL Proxying option as shown in the image and added the wildcard URL's that I want to filter. Eg: *.your-server-url.com



      enter image description here



      Update:



      Also I don't think you can do it in release build of your application.



      And for Android N and above there have been these changes you'll need to include in your project for it to work: https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/



      Hope this helps a bit.






      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote










        Everything is setup correctly, but SSL traffic continues to be blocked.




        Sometimes I used to see red cross on SSL requests coming from Android. I was unable to read the content. It started working fine for me after I setup the SSP Proxy Settings option. I checked the Enable SSL Proxying option as shown in the image and added the wildcard URL's that I want to filter. Eg: *.your-server-url.com



        enter image description here



        Update:



        Also I don't think you can do it in release build of your application.



        And for Android N and above there have been these changes you'll need to include in your project for it to work: https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/



        Hope this helps a bit.






        share|improve this answer















        Everything is setup correctly, but SSL traffic continues to be blocked.




        Sometimes I used to see red cross on SSL requests coming from Android. I was unable to read the content. It started working fine for me after I setup the SSP Proxy Settings option. I checked the Enable SSL Proxying option as shown in the image and added the wildcard URL's that I want to filter. Eg: *.your-server-url.com



        enter image description here



        Update:



        Also I don't think you can do it in release build of your application.



        And for Android N and above there have been these changes you'll need to include in your project for it to work: https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/



        Hope this helps a bit.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 22 at 22:13

























        answered Nov 7 at 23:53









        Shobhit Puri

        21.4k671102




        21.4k671102






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53197681%2fcharles-proxy-blocking-ssl-traffic-on-android%23new-answer', 'question_page');
            }
            );

            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







            這個網誌中的熱門文章

            Academy of Television Arts & Sciences

            L'Équipe

            1995 France bombings