<?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 fixing Publish exception ' Exception: hostname in certificate didn't match: != OR ' in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/fixing-publish-exception-exception-hostname-in/m-p/476910#M23985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #444444; background-color: #ffffff; font-size: 12px;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; background-color: #ffffff; font-size: 12px;"&gt;I finished configuring a single machine basic deployment, following the tutorial of ArcGIS Enterprise, and all seems to work (i managed to add a validated federated server as hosting to my machine). Now when i try to add a hosted shapefile: going Portal &amp;gt; MyContent &amp;gt; Add Item from desktop &amp;gt; browsing to a zipped shapefile and filling tags fields &amp;gt; clicking ok it raises &lt;STRONG&gt;a Publish exception ' Exception: hostname in certificate didn't match:&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;!=&amp;nbsp;OR&amp;nbsp;'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Legend:&lt;/P&gt;&lt;P&gt;&amp;lt;fqdn&amp;gt; is fully qualified domain name, in my case it's the windows computer full name.&lt;/P&gt;&lt;P&gt;webadaptor name for portal = 'webadaptor_portal'&lt;/P&gt;&lt;P&gt;webadaptor name for server&amp;nbsp;= 'webadaptor_server'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a self&amp;nbsp;signed certificate using the tutorial in ESRI, in arcgis server admin with the following&amp;nbsp;specs:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: bold; font-size: 14.4px;"&gt;CN=&amp;lt;fqdn&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;Subject Alternative Name(SAN):&amp;nbsp;DNSName: &amp;lt;fqdn&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: bold; font-size: 14.4px;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;In arcgis server admin &amp;gt; security &amp;gt; config there are the following specs:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;SPAN&gt;"portalUrl": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;fqndn&amp;gt;/webadaptor_portal",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"privatePortalUrl": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;fqndn_allcaps&amp;gt;:7443/arcgis",&lt;/SPAN&gt;&lt;BR /&gt;"portalSecretKey": "#####################",&lt;BR /&gt;"portalMode": "ARCGIS_PORTAL_FEDERATION",&lt;BR /&gt;"serverId": "##################",&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;SPAN&gt;"serverUrl": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;fqndn&amp;gt;/webadaptor_server",&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="background-color: #ffffff; color: #000000; font-size: 14.4px;"&gt;&lt;BR /&gt;&lt;SPAN&gt;"privateHostingServerUrl": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Flocalhost%3A6443%2Farcgis" rel="nofollow" target="_blank"&gt;https://localhost:6443/arcgis&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;SPAN&gt;Is this happening because CN=&amp;lt;fqdn&amp;gt; is different than&amp;nbsp;"privateHostingServerUrl": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Flocalhost%3A6443%2Farcgis" rel="nofollow" target="_blank"&gt;https://localhost:6443/arcgis&lt;/A&gt;&lt;SPAN&gt;", or why and how to fix this?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;Francisco.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Dec 2017 20:01:56 GMT</pubDate>
    <dc:creator>FranciscoCosta1</dc:creator>
    <dc:date>2017-12-09T20:01:56Z</dc:date>
    <item>
      <title>fixing Publish exception ' Exception: hostname in certificate didn't match: != OR '</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/fixing-publish-exception-exception-hostname-in/m-p/476910#M23985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #444444; background-color: #ffffff; font-size: 12px;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; background-color: #ffffff; font-size: 12px;"&gt;I finished configuring a single machine basic deployment, following the tutorial of ArcGIS Enterprise, and all seems to work (i managed to add a validated federated server as hosting to my machine). Now when i try to add a hosted shapefile: going Portal &amp;gt; MyContent &amp;gt; Add Item from desktop &amp;gt; browsing to a zipped shapefile and filling tags fields &amp;gt; clicking ok it raises &lt;STRONG&gt;a Publish exception ' Exception: hostname in certificate didn't match:&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;!=&amp;nbsp;OR&amp;nbsp;'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Legend:&lt;/P&gt;&lt;P&gt;&amp;lt;fqdn&amp;gt; is fully qualified domain name, in my case it's the windows computer full name.&lt;/P&gt;&lt;P&gt;webadaptor name for portal = 'webadaptor_portal'&lt;/P&gt;&lt;P&gt;webadaptor name for server&amp;nbsp;= 'webadaptor_server'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a self&amp;nbsp;signed certificate using the tutorial in ESRI, in arcgis server admin with the following&amp;nbsp;specs:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: bold; font-size: 14.4px;"&gt;CN=&amp;lt;fqdn&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;Subject Alternative Name(SAN):&amp;nbsp;DNSName: &amp;lt;fqdn&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: bold; font-size: 14.4px;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;In arcgis server admin &amp;gt; security &amp;gt; config there are the following specs:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;SPAN&gt;"portalUrl": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;fqndn&amp;gt;/webadaptor_portal",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"privatePortalUrl": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;fqndn_allcaps&amp;gt;:7443/arcgis",&lt;/SPAN&gt;&lt;BR /&gt;"portalSecretKey": "#####################",&lt;BR /&gt;"portalMode": "ARCGIS_PORTAL_FEDERATION",&lt;BR /&gt;"serverId": "##################",&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;SPAN&gt;"serverUrl": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;fqndn&amp;gt;/webadaptor_server",&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="background-color: #ffffff; color: #000000; font-size: 14.4px;"&gt;&lt;BR /&gt;&lt;SPAN&gt;"privateHostingServerUrl": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Flocalhost%3A6443%2Farcgis" rel="nofollow" target="_blank"&gt;https://localhost:6443/arcgis&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;SPAN&gt;Is this happening because CN=&amp;lt;fqdn&amp;gt; is different than&amp;nbsp;"privateHostingServerUrl": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Flocalhost%3A6443%2Farcgis" rel="nofollow" target="_blank"&gt;https://localhost:6443/arcgis&lt;/A&gt;&lt;SPAN&gt;", or why and how to fix this?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;Francisco.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Dec 2017 20:01:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/fixing-publish-exception-exception-hostname-in/m-p/476910#M23985</guid>
      <dc:creator>FranciscoCosta1</dc:creator>
      <dc:date>2017-12-09T20:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: fixing Publish exception ' Exception: hostname in certificate didn't match: != OR '</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/fixing-publish-exception-exception-hostname-in/m-p/476911#M23986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See my reply in &lt;A href="https://community.esri.com/thread/206467-how-to-fix-fail-to-update-server-in-hosting-setup-of-machine-arcgis-enterprise-base-deployment-error-of-datastore-when-hosting-shape-file"&gt;https://community.esri.com/thread/206467-how-to-fix-fail-to-update-server-in-hosting-setup-of-machine-arcgis-enterprise-base-deployment-error-of-datastore-when-hosting-shape-file&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You shouldn't federate using "localhost".&amp;nbsp; Use the machine name Server is installed on. The problem is that Portal is validating the certificate and "localhost" does not match the CN of the certificate, which is the machine name Server is installed on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 19:40:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/fixing-publish-exception-exception-hostname-in/m-p/476911#M23986</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2017-12-11T19:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: fixing Publish exception ' Exception: hostname in certificate didn't match: != OR '</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/fixing-publish-exception-exception-hostname-in/m-p/476912#M23987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the reply in the&amp;nbsp;&lt;A href="https://community.esri.com/thread/206467"&gt;How to fix valid server adding as hosting in portal ArcGIS enterprise Base deployment configures?&lt;/A&gt;&amp;nbsp;i will mark this one as complete, of course thank you for that it did work well cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 01:32:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/fixing-publish-exception-exception-hostname-in/m-p/476912#M23987</guid>
      <dc:creator>FranciscoCosta1</dc:creator>
      <dc:date>2017-12-12T01:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: fixing Publish exception ' Exception: hostname in certificate didn't match: != OR '</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/fixing-publish-exception-exception-hostname-in/m-p/476913#M23988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted to chime in here. I had the same error message except in my case I had a CA signed&amp;nbsp;certificate. I had to configure ArcServer to use that certificate instead of using the self signed certificate. This is found in this thread. Just wanted to link the two as this fixed my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/218192-publishing-exception-hostname-doesnt-match"&gt;https://community.esri.com/thread/218192-publishing-exception-hostname-doesnt-match&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 15:07:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/fixing-publish-exception-exception-hostname-in/m-p/476913#M23988</guid>
      <dc:creator>DiegoNegron</dc:creator>
      <dc:date>2018-10-22T15:07:41Z</dc:date>
    </item>
  </channel>
</rss>

