<?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: self signed certificate in certificate chain in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/self-signed-certificate-in-certificate-chain/m-p/1359063#M9816</link>
    <description>&lt;P&gt;I needed to turn off ssl security to download the npm packages. It's not strictly speaking the safest way to do it, but the odds of getting hit by a man-in-the-middle attack are pretty low.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;//Turns off ssl
npm set strict-ssl false
//Installs node packages
npm ci
//Turns ssl back on for future protection
npm set strict-ssl true&lt;/LI-CODE&gt;&lt;P&gt;If you want to look for a more secure option, try these suggestions.&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/29141153/nodejs-npm-err-code-self-signed-cert-in-chain" target="_blank"&gt;https://stackoverflow.com/questions/29141153/nodejs-npm-err-code-self-signed-cert-in-chain&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Dec 2023 13:33:38 GMT</pubDate>
    <dc:creator>JeffreyThompson2</dc:creator>
    <dc:date>2023-12-11T13:33:38Z</dc:date>
    <item>
      <title>self signed certificate in certificate chain</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/self-signed-certificate-in-certificate-chain/m-p/1358783#M9804</link>
      <description>&lt;P&gt;I'm following the guide for the &lt;A href="https://developers.arcgis.com/experience-builder/guide/install-guide/" target="_self"&gt;ArcGIS Experience Builder Server install&lt;/A&gt;. According to &lt;A href="https://developers.arcgis.com/experience-builder/guide/release-versions/" target="_self"&gt;this&lt;/A&gt; I can use any of the following Node.js versions.&amp;nbsp;For Windows, I've tried v. 16 and the latest v. 20.10. 0.&lt;/P&gt;&lt;DIV class=""&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;For Experience Builder 1.12 and newer, we support Node.js of version 16,18,19,20, but not Node 17.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Where I'm running into problems is in step 9 of hte guide. Each time I try different combinations of Experience Builder download with a version of Node.js I get this error in the (Administrator) command prompt:&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;C:\Users\jpilbeam&amp;gt;cd C:\ArcGISExperienceBuilder\server

C:\ArcGISExperienceBuilder\server&amp;gt;npm ci
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code SELF_SIGNED_CERT_IN_CHAIN
npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN
npm ERR! request to https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz failed, reason: self signed certificate in certificate chain

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\jpilbeam\AppData\Local\npm-cache\_logs\2023-12-08T21_40_00_057Z-debug-0.log&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't see much documentation on it. According to the key I can trust the cert, which I did. Even still I get the same error.&lt;/P&gt;&lt;DIV class=""&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Experience Builder uses a self-signed certificate in Node.js to support HTTPS. You can run Experience Builder using this certificate by trusting it, or you can use your own certificate. To change the default certificate with your own, replace these two files in the server/cert directory: server.key and server.cert.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 22:00:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/self-signed-certificate-in-certificate-chain/m-p/1358783#M9804</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2023-12-08T22:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: self signed certificate in certificate chain</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/self-signed-certificate-in-certificate-chain/m-p/1359063#M9816</link>
      <description>&lt;P&gt;I needed to turn off ssl security to download the npm packages. It's not strictly speaking the safest way to do it, but the odds of getting hit by a man-in-the-middle attack are pretty low.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;//Turns off ssl
npm set strict-ssl false
//Installs node packages
npm ci
//Turns ssl back on for future protection
npm set strict-ssl true&lt;/LI-CODE&gt;&lt;P&gt;If you want to look for a more secure option, try these suggestions.&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/29141153/nodejs-npm-err-code-self-signed-cert-in-chain" target="_blank"&gt;https://stackoverflow.com/questions/29141153/nodejs-npm-err-code-self-signed-cert-in-chain&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 13:33:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/self-signed-certificate-in-certificate-chain/m-p/1359063#M9816</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2023-12-11T13:33:38Z</dc:date>
    </item>
  </channel>
</rss>

