<?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 Setting up SSL with a signed certificate in a multi-tier server architecture in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/setting-up-ssl-with-a-signed-certificate-in-a/m-p/678342#M25843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As the subject implies, I recently tried to setup SSL in a multi-tier environment where the IIS Web Server/ESRI WebAdaptor and the GIS Server ran in differenct Virtual Machines.&amp;nbsp; I'm using ArcGIS Server 10.1, here's how I did it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1)&amp;nbsp; I acquired a Signed Certificate directly from the CA, I did NOT use the ESRI CSR-generation steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)&amp;nbsp; I installed the Signed Certificate and CA Root Certificates on the IIS server and followed Microsoft's cryptic instructions for enabling SSL for a particular website.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)&amp;nbsp; Most importantly, the WebAdaptor dojo.js and init.js scripts MUST use the domain name (not IP Address) that matches the domain name in the certificate.&amp;nbsp; (I'll explain why later)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4)&amp;nbsp; The GIS Server was configured to use the SelfSignedCertificate (default) and I left it that way because the IIS Server handles authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lessons-Learned&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1)&amp;nbsp; If you access the website using an IP instead of a domain name (and it's PKI-controlled), it's not uncommon to receive certificate errors upfront becuse the URL you accessed doesn't match the URL of the certificate.&amp;nbsp; In a multi-tiered architecture, everything still behaves ok because the user acknowledges the URL mismatch and certificate errors are ingnored for the remainder of the session.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)&amp;nbsp; However, If you access the website using a domain name, and there are no top-level certificate errors, your IE browser may crash when trying to access the dojo scripts (if the dojo scripts were setup with IP addresses instead of a domain name).&amp;nbsp; This is because IE thinks you are trying to access a different site to download the dojo scripts, which would break the security architecture.&amp;nbsp; Normally, this is reported to you innocently and the user has to acknowledge it, but with ArcGIS Server, it just crashes the browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)&amp;nbsp; At some point, while trying various things, loading/unloading certificates into ArcGIS server, my services became locked (not open to the public).&amp;nbsp; This was reported conspicuously in the browser's developer tools console as a &lt;/SPAN&gt;&lt;STRONG&gt;dojo.io.script errorError: Token Required&lt;/STRONG&gt;&lt;SPAN&gt; error.&amp;nbsp; I had to unlock them through the Manager website.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2014 17:05:29 GMT</pubDate>
    <dc:creator>MichaelMurphy8</dc:creator>
    <dc:date>2014-06-24T17:05:29Z</dc:date>
    <item>
      <title>Setting up SSL with a signed certificate in a multi-tier server architecture</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/setting-up-ssl-with-a-signed-certificate-in-a/m-p/678342#M25843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As the subject implies, I recently tried to setup SSL in a multi-tier environment where the IIS Web Server/ESRI WebAdaptor and the GIS Server ran in differenct Virtual Machines.&amp;nbsp; I'm using ArcGIS Server 10.1, here's how I did it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1)&amp;nbsp; I acquired a Signed Certificate directly from the CA, I did NOT use the ESRI CSR-generation steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)&amp;nbsp; I installed the Signed Certificate and CA Root Certificates on the IIS server and followed Microsoft's cryptic instructions for enabling SSL for a particular website.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)&amp;nbsp; Most importantly, the WebAdaptor dojo.js and init.js scripts MUST use the domain name (not IP Address) that matches the domain name in the certificate.&amp;nbsp; (I'll explain why later)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4)&amp;nbsp; The GIS Server was configured to use the SelfSignedCertificate (default) and I left it that way because the IIS Server handles authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lessons-Learned&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1)&amp;nbsp; If you access the website using an IP instead of a domain name (and it's PKI-controlled), it's not uncommon to receive certificate errors upfront becuse the URL you accessed doesn't match the URL of the certificate.&amp;nbsp; In a multi-tiered architecture, everything still behaves ok because the user acknowledges the URL mismatch and certificate errors are ingnored for the remainder of the session.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)&amp;nbsp; However, If you access the website using a domain name, and there are no top-level certificate errors, your IE browser may crash when trying to access the dojo scripts (if the dojo scripts were setup with IP addresses instead of a domain name).&amp;nbsp; This is because IE thinks you are trying to access a different site to download the dojo scripts, which would break the security architecture.&amp;nbsp; Normally, this is reported to you innocently and the user has to acknowledge it, but with ArcGIS Server, it just crashes the browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)&amp;nbsp; At some point, while trying various things, loading/unloading certificates into ArcGIS server, my services became locked (not open to the public).&amp;nbsp; This was reported conspicuously in the browser's developer tools console as a &lt;/SPAN&gt;&lt;STRONG&gt;dojo.io.script errorError: Token Required&lt;/STRONG&gt;&lt;SPAN&gt; error.&amp;nbsp; I had to unlock them through the Manager website.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 17:05:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/setting-up-ssl-with-a-signed-certificate-in-a/m-p/678342#M25843</guid>
      <dc:creator>MichaelMurphy8</dc:creator>
      <dc:date>2014-06-24T17:05:29Z</dc:date>
    </item>
  </channel>
</rss>

