<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1191 How to configure Charles proxy for capturing iOS traffic</title><link>https://community.appian.com/support/w/kb/407/kb-1191-how-to-configure-charles-proxy-for-capturing-ios-traffic</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1191 How to configure Charles proxy for capturing iOS traffic</title><link>https://community.appian.com/support/w/kb/407/kb-1191-how-to-configure-charles-proxy-for-capturing-ios-traffic</link><pubDate>Mon, 06 Mar 2017 19:48:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2546951e-2568-46c6-9e4e-90775cec056d</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/407/kb-1191-how-to-configure-charles-proxy-for-capturing-ios-traffic#comments</comments><description>Current Revision posted to Appian Knowledge Base by Nick Vigilante on 3/6/2017 7:48:18 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;This article provides steps on how to install Charles on a Windows machine and configure Charles to capture requests/responses made by an iOS device. This is useful when troubleshooting issues with the Appian mobile application.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Install Charles:
&lt;ol&gt;
&lt;li&gt;From your desktop, go to &lt;a href="http://www.charlesproxy.com/"&gt;http://www.charlesproxy.com/&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download the version (free trial) that matches your operating system.&lt;/li&gt;
&lt;li&gt;Install Charles.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Collect the proxy information:
&lt;ol&gt;
&lt;li&gt;Open Charles.&lt;/li&gt;
&lt;li&gt;On the menu bar, navigate to &lt;strong&gt;Proxy&lt;/strong&gt; &amp;gt; &lt;strong&gt;Proxy Settings&lt;/strong&gt;. Make a note of the &lt;strong&gt;Port&lt;/strong&gt; value under &lt;strong&gt;Proxies&lt;/strong&gt; &amp;gt; &lt;strong&gt;HTTP Proxy&lt;/strong&gt; (default value is 8888):&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488829582759v1.png"&gt;&lt;img src="/resized-image/__size/1200x555555/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488829582759v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Open a command prompt window on your local machine (&lt;strong&gt;Start&lt;/strong&gt; &amp;gt; &lt;strong&gt;cmd&lt;/strong&gt;).&lt;/li&gt;
&lt;li&gt;Run the following command: ipconfig&lt;/li&gt;
&lt;li&gt;At the top, find the line for &lt;strong&gt;IPv4 Address&lt;/strong&gt; and make note of the address to the right. &lt;strong&gt;Note:&lt;/strong&gt; This is your network&amp;#39;s IP address.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488829582760v2.png"&gt;&lt;img src="/resized-image/__size/1200x555555/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488829582760v2.png" alt=" " /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Configure iOS device settings:
&lt;ol&gt;
&lt;li&gt;Open &lt;strong&gt;Settings&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Tap on &lt;strong&gt;Wi-Fi&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Tap on your network.&lt;/li&gt;
&lt;li&gt;Scroll down to the &lt;strong&gt;HTTP PROXY&lt;/strong&gt; section and change the setting to &lt;strong&gt;Manual&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Server&lt;/strong&gt; field, enter your network&amp;#39;s IP address (the IPv4 address collected above).&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Port&lt;/strong&gt; field, enter the port number that Charles is listening on. &lt;strong&gt;Note:&lt;/strong&gt; This is configured in Charles per the above steps. The default port is 8888, however you can use any open port on your machine. If you use a port other than 8888, ensure that Charles is configured to listen on that port.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488829582760v3.png"&gt;&lt;img src="/resized-image/__size/621x1104/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488829582760v3.png" alt=" " /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Return to the main &lt;strong&gt;Settings&lt;/strong&gt; page.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Install the Charles Root Certificate to the iOS device:
&lt;ol&gt;
&lt;li&gt;Open Safari and browse to &lt;a href="http://www.charlesproxy.com/getssl/"&gt;http://www.charlesproxy.com/getssl/&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Safari will prompt you to install the SSL certificate. Once you install it, you should be able to access SSL websites with Charles using SSL Proxying. Without the certificate, you will be unable to decrypt SSL traffic from the iOS device. More information on this topic can be found in Charles&amp;#39;s &lt;a href="http://www.charlesproxy.com/documentation/using-charles/ssl-certificates/"&gt;SSL Certificates&lt;/a&gt; documentation.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488829582760v4.png"&gt;&lt;img src="/resized-image/__size/621x1104/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488829582760v4.png" alt=" " /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Enable SSL Proxying and add filters in Charles:
&lt;ol&gt;
&lt;li&gt;Open Charles and go to &lt;strong&gt;Proxy&lt;/strong&gt; &amp;gt; &lt;strong&gt;SSL Proxy Settings&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Check the &lt;strong&gt;Enable SSL Proxying&lt;/strong&gt; checkbox.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Locations&lt;/strong&gt; section, add a filter from the domain and port where you are capturing traffic (e.g., appian.example.com:443). For ease of use, users may consider using wildcards (*) for both domain and port. Wildcards are helpful in SAML implementations because there are multiple redirects to different domains involved.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488829582760v5.png"&gt;&lt;img src="/resized-image/__size/1200x5555/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488829582760v5.png" alt=" " /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;At this point, you can begin to make requests from the iOS device, and activity should be monitored in Charles:&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488829582760v6.png"&gt;&lt;img src="/resized-image/__size/1200x55555/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488829582760v6.png" alt=" " /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; To disable capturing of traffic, open &lt;strong&gt;Settings&lt;/strong&gt; in the iOS device, go to &lt;strong&gt;Wi-Fi&lt;/strong&gt; &amp;gt; &lt;strong&gt;&amp;lt;your_network&amp;gt;&lt;/strong&gt;, and change &lt;strong&gt;HTTP PROXY&lt;/strong&gt; to &lt;strong&gt;Off&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: June 2016&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Mobile&lt;/div&gt;
</description></item></channel></rss>