<?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 Re: Private CA Certificate in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/private-ca-certificate/m-p/1207139#M5833</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/46685"&gt;@GuntherHeppner&lt;/a&gt;, thank you for your reply&lt;/P&gt;&lt;P&gt;We use a&amp;nbsp;&lt;SPAN&gt;self-signed certificate. The error returned is &lt;EM&gt;"&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;Domain specific configurations require that hostname aware checkServerTrusted(X509Certificate[], String, String) is used"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Alder&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 10:07:25 GMT</pubDate>
    <dc:creator>AlessandroValra</dc:creator>
    <dc:date>2022-08-29T10:07:25Z</dc:date>
    <item>
      <title>Private CA Certificate</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/private-ca-certificate/m-p/1199325#M5813</link>
      <description>&lt;P&gt;Hi all, I'm facing a problem with an application that uses certificate with private certification authority.&lt;BR /&gt;I have an error when I try to instantiate a map with only basemap (no ESRI basemap but 1 service published on server where certificate is installed).&lt;/P&gt;&lt;P&gt;Domain specific configurations require that hostname aware checkServerTrusted(X509Certificate[], String, String) is used&lt;/P&gt;&lt;P&gt;I tried to apply workaround at this &lt;A href="https://github.com/microsoft/cpprestsdk/issues/1313" target="_self"&gt;LINK&lt;/A&gt;&amp;nbsp;, but it still doesn't work.&lt;/P&gt;&lt;P&gt;Anyone has the same problem? Could you help me?&lt;/P&gt;&lt;P&gt;TIA&lt;BR /&gt;Alder&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 11:02:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/private-ca-certificate/m-p/1199325#M5813</guid>
      <dc:creator>AlessandroValra</dc:creator>
      <dc:date>2022-08-04T11:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Private CA Certificate</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/private-ca-certificate/m-p/1203190#M5818</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3199"&gt;@AlessandroValra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I understand you correctly, you are connecting to a service that uses a certificate with an unknown CA or it is a self-signed certificate? Can you confirm this? What &lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/arcgisruntime/mapping/GeoModel.html#getLoadError()" target="_self"&gt;error&lt;/A&gt; are you getting when loading the map?&lt;/P&gt;&lt;P&gt;There are several options for dealing with untrusted server certificates:&lt;BR /&gt;1. Configure the service with a certificate from a known CA.&lt;/P&gt;&lt;P&gt;2. You can &lt;A href="https://developer.android.com/training/articles/security-ssl#UnknownCa" target="_self"&gt;have your application trust your service&lt;/A&gt; by configuring your app's network security config.&lt;/P&gt;&lt;P&gt;3. You can set a &lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/arcgisruntime/security/DefaultAuthenticationChallengeHandler.html" target="_self"&gt;DefaultAuthenticationChallengeHandler&lt;/A&gt; which will prompt the user to trust/not trust the service.&lt;/P&gt;&lt;P&gt;4. You can set a &lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/arcgisruntime/security/SelfSignedCertificateListener.html" target="_self"&gt;SelfSignedCertificateListener&lt;/A&gt; to trust your service without prompting users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 11:31:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/private-ca-certificate/m-p/1203190#M5818</guid>
      <dc:creator>GuntherHeppner</dc:creator>
      <dc:date>2022-08-16T11:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Private CA Certificate</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/private-ca-certificate/m-p/1207139#M5833</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/46685"&gt;@GuntherHeppner&lt;/a&gt;, thank you for your reply&lt;/P&gt;&lt;P&gt;We use a&amp;nbsp;&lt;SPAN&gt;self-signed certificate. The error returned is &lt;EM&gt;"&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;Domain specific configurations require that hostname aware checkServerTrusted(X509Certificate[], String, String) is used"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Alder&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 10:07:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/private-ca-certificate/m-p/1207139#M5833</guid>
      <dc:creator>AlessandroValra</dc:creator>
      <dc:date>2022-08-29T10:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Private CA Certificate</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/private-ca-certificate/m-p/1207165#M5834</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/46685"&gt;@GuntherHeppner&lt;/a&gt;&amp;nbsp;, I applied your tip (&lt;SPAN&gt;4. You can set a&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/arcgisruntime/security/SelfSignedCertificateListener.html" target="_self" rel="nofollow noopener noreferrer"&gt;SelfSignedCertificateListener&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;to trust your service without prompting users)&lt;/SPAN&gt;&amp;nbsp;and it works &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;P&gt;Alder&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 11:54:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/private-ca-certificate/m-p/1207165#M5834</guid>
      <dc:creator>AlessandroValra</dc:creator>
      <dc:date>2022-08-29T11:54:27Z</dc:date>
    </item>
  </channel>
</rss>

