Charles Proxy in Android

1. SSL Proxy/Charles + Android trouble

https://stackoverflow.com/questions/17823434/ssl-proxy-charles-and-android-trouble/31945622#31945622

2. Enable SSL Proxy for Nougat+

Update your AndroidManifest.xml application section with networkSecurityConfig.xml

<application android:name=”AppName” 
 android:icon=”@mipmap/ic_launcher” 
 android:label=”@string/app_name”    
 android:networkSecurityConfig=”@xml/network_security_config”>

Add network_security_config.xml file to your xml resource folder app/src/main/res/xml/network_security_config.xml

<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
  <base-config>
    <trust-anchors>
      <certificates src="system" />
      <certificates src="user" />
    </trust-anchors>
  </base-config>

  <!-- For debug only -->
  <debug-overrides>
    <trust-anchors>
      <certificates src="system" />
      <certificates src="user" />
    </trust-anchors>
  </debug-overrides>
</network-security-config>

About Tang

A mobile developer, work in Stockholm, Sweden
This entry was posted in Android and tagged . Bookmark the permalink.

2 Responses to Charles Proxy in Android

  1. anandkaran says:

    Good article

    Like

  2. carolynjr16 says:

    Hot new pictures each day
    http://asspussyandtits.bestsexyblog.com/?malia

    recovery fron online porn addiction taboo porn games free xxx porn picture hotel maid porn vidios porn theatre locations

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s