<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Making the ArcGISHttpClientHandler accept &amp;quot;invalid&amp;quot; certificates in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/making-the-arcgishttpclienthandler-accept-quot/m-p/740083#M9281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to debug a problem with a customer's map service where we see intermittend errors in displaying the map. To get an idea as to why the map is sometimes not loading, I wanted to sniff the traffic using Fiddler. As the service is an SSL-secured service, I am using Fiddler's own certificate to intercept the connection and act as my own man-in-the-middle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine in my own code (using HttpClient) but crashes as soon as I try to show the map (both on Android and on iOS)&amp;nbsp;with the following exception:&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.Net.WebException: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “&amp;lt;customer's site&amp;gt;” which could put your confidential information at risk. ---&amp;gt; Foundation.NSErrorException: Exception of type 'Foundation.NSErrorException' was thrown.&lt;BR /&gt; --- End of inner exception stack trace ---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to let the internal ArcGIS handler accept "invalid" certificates? If not, how am I able to capture the traffic between my app (on either Android or iOS) and the server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2018 14:34:55 GMT</pubDate>
    <dc:creator>alehmann</dc:creator>
    <dc:date>2018-08-21T14:34:55Z</dc:date>
    <item>
      <title>Making the ArcGISHttpClientHandler accept "invalid" certificates</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/making-the-arcgishttpclienthandler-accept-quot/m-p/740083#M9281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to debug a problem with a customer's map service where we see intermittend errors in displaying the map. To get an idea as to why the map is sometimes not loading, I wanted to sniff the traffic using Fiddler. As the service is an SSL-secured service, I am using Fiddler's own certificate to intercept the connection and act as my own man-in-the-middle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine in my own code (using HttpClient) but crashes as soon as I try to show the map (both on Android and on iOS)&amp;nbsp;with the following exception:&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.Net.WebException: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “&amp;lt;customer's site&amp;gt;” which could put your confidential information at risk. ---&amp;gt; Foundation.NSErrorException: Exception of type 'Foundation.NSErrorException' was thrown.&lt;BR /&gt; --- End of inner exception stack trace ---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to let the internal ArcGIS handler accept "invalid" certificates? If not, how am I able to capture the traffic between my app (on either Android or iOS) and the server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 14:34:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/making-the-arcgishttpclienthandler-accept-quot/m-p/740083#M9281</guid>
      <dc:creator>alehmann</dc:creator>
      <dc:date>2018-08-21T14:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Making the ArcGISHttpClientHandler accept "invalid" certificates</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/making-the-arcgishttpclienthandler-accept-quot/m-p/740084#M9282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'd need to install the certificate that Fiddler generated. It does this for you on Windows where Fiddler is running, but you'd need to do this yourself on any other device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://docs.telerik.com/fiddler/configure-fiddler/tasks/configureforandroid" title="http://docs.telerik.com/fiddler/configure-fiddler/tasks/configureforandroid"&gt;Configure Fiddler for Android / Google Nexus 7&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigureForiOS" title="http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigureForiOS"&gt;Configure Fiddler for iOS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 15:10:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/making-the-arcgishttpclienthandler-accept-quot/m-p/740084#M9282</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2018-08-24T15:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Making the ArcGISHttpClientHandler accept "invalid" certificates</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/making-the-arcgishttpclienthandler-accept-quot/m-p/740085#M9283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morten,&lt;/P&gt;&lt;P&gt;I did that but had the error nontheless.&amp;nbsp;Strangely, the problem seems to have solved itself. Maybe all I needed was a reboot of the device... thanks for the answer, though!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 06:30:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/making-the-arcgishttpclienthandler-accept-quot/m-p/740085#M9283</guid>
      <dc:creator>alehmann</dc:creator>
      <dc:date>2018-08-27T06:30:14Z</dc:date>
    </item>
  </channel>
</rss>

