<?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: Error while creating custom app in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/266076#M1224</link>
    <description>&lt;P&gt;I'm sorry to hear that. Since it doesn't seem possible to do it with user-level variables, I'll let you know if anything changes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Dec 2024 14:08:31 GMT</pubDate>
    <dc:creator>haris</dc:creator>
    <dc:date>2024-12-23T14:08:31Z</dc:date>
    <item>
      <title>Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/261720#M1139</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;I am getting multiple errors while creating a custom app&lt;/P&gt;
&lt;P&gt;Pl. help&lt;/P&gt;
&lt;P&gt;C:\DTApps&amp;gt;node -e "fetch('&lt;A href="https://{environmentid}.apps.dynatrace.com" target="_blank" rel="noopener"&gt;https://{environmentid}.apps.dynatrace.com&lt;/A&gt;' could not be processed.&lt;BR /&gt;self-signed certificate in certificate chain&lt;BR /&gt;If you need further assistance visit the connectivity troubleshooting guide here: &lt;A href="https://dt-url.net/c4jp0s12" target="_blank" rel="noopener"&gt;https://dt-url.net/c4jp0s12&lt;/A&gt;&lt;BR /&gt;Error: Terminal interrupt signal&lt;BR /&gt;Error: Terminal interrupt signal&lt;BR /&gt;Error: Terminal interrupt signal&lt;BR /&gt;Error: Terminal interrupt signal&lt;BR /&gt;Error: Terminal interrupt signal&lt;BR /&gt;Terminate batch job (Y/N)? y&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 14:08:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/261720#M1139</guid>
      <dc:creator>Tanveermd</dc:creator>
      <dc:date>2024-11-12T14:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262053#M1143</link>
      <description>&lt;P&gt;&lt;SPAN&gt;any suggestions on this error please&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 12:13:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262053#M1143</guid>
      <dc:creator>Tanveermd</dc:creator>
      <dc:date>2024-11-11T12:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262055#M1144</link>
      <description>&lt;P&gt;Hi username1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's start with this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Can you confirm that you meet all the requirements here&amp;nbsp;&lt;/SPAN&gt;&lt;A class="c-link" href="https://developer.dynatrace.com/reference/app-toolkit/#requirements" target="_blank" rel="noopener noreferrer" data-stringify-link="https://developer.dynatrace.com/reference/app-toolkit/#requirements" data-sk="tooltip_parent"&gt;https://developer.dynatrace.com/reference/app-toolkit/#requirements&lt;/A&gt;?&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Can you also please share your app.config.json?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Please send us the output of (please adjust the URL accordingly):&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt;curl -s --ssl-no-revoke -w '\n%{certs}\n' https://abc12345.apps.dynatrace.com | findstr "Issuer"&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems likely that it's an issue with certificates that are not from Dynatrace. You can try setting an environment variable&amp;nbsp;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;NODE_EXTRA_CA_CERTS=C:/path/to/cert.pem&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;where&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;cert.pem&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;is a file that contains the public certificates that you are injecting (or the certificate for the CA that created those certificates).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See: &lt;A class="c-link" style="font-family: inherit; background-color: #ffffff;" href="https://nodejs.org/api/cli.html" target="_blank" rel="noopener noreferrer" data-stringify-link="https://nodejs.org/api/cli.html" data-sk="tooltip_parent"&gt;https://nodejs.org/api/cli.html&lt;/A&gt;&lt;/P&gt;
&lt;DIV class="c-message_kit__reaction_bar c-reaction_bar c-reaction_bar--collapsed" role="group" data-qa="reaction_bar" aria-label="Reactions" data-stringify-ignore="true"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Nov 2024 12:34:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262055#M1144</guid>
      <dc:creator>haris</dc:creator>
      <dc:date>2024-11-11T12:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262094#M1146</link>
      <description>&lt;P&gt;Hi Haris,&lt;/P&gt;&lt;P&gt;Thanks for your response, here is the output of the curl cmd&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="username1_0-1731342508863.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24508iF62B312A410CAD4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="username1_0-1731342508863.png" alt="username1_0-1731342508863.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;here is the app.config.json&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="username1_1-1731342594497.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24509i84F403625C7EA90A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="username1_1-1731342594497.png" alt="username1_1-1731342594497.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 16:30:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262094#M1146</guid>
      <dc:creator>Tanveermd</dc:creator>
      <dc:date>2024-11-11T16:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262114#M1148</link>
      <description>&lt;P&gt;I am able to start the local development server but unable to authenticate, I have set the environment variables as recommended above but still no luck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: SSO-URL for '&lt;A href="https://{environmentid}.apps.dynatrace.com" target="_blank"&gt;https://{environmentid}.apps.dynatrace.com&lt;/A&gt;' could not be processed.&lt;BR /&gt;self-signed certificate in certificate chain&lt;BR /&gt;If you need further assistance visit the connectivity troubleshooting guide here: &lt;A href="https://dt-url.net/c4jp0s12" target="_blank"&gt;https://dt-url.net/c4jp0s12&lt;/A&gt;&lt;BR /&gt;Error: Terminal interrupt signal&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 23:00:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262114#M1148</guid>
      <dc:creator>Tanveermd</dc:creator>
      <dc:date>2024-11-11T23:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262116#M1149</link>
      <description>&lt;P&gt;here is the screenshot of error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="username1_0-1731366304458.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24515iD57142CF79914310/image-size/medium?v=v2&amp;amp;px=400" role="button" title="username1_0-1731366304458.png" alt="username1_0-1731366304458.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 23:05:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262116#M1149</guid>
      <dc:creator>Tanveermd</dc:creator>
      <dc:date>2024-11-11T23:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262139#M1151</link>
      <description>&lt;P&gt;Hi, can you please confirm you can make connections to the SSO (sso.dynatrace.com) and your own server from the machine? You can find examples here:&amp;nbsp;&lt;A href="https://developer.dynatrace.com/develop/troubleshoot/troubleshoot-connectivity/#connectivity-of-your-machine" target="_blank" rel="noopener"&gt;https://developer.dynatrace.com/develop/troubleshoot/troubleshoot-connectivity/#connectivity-of-your-machine&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that works, please make sure Node.js also has connectivity:&amp;nbsp;&lt;A href="https://developer.dynatrace.com/develop/troubleshoot/troubleshoot-connectivity/#connectivity-of-nodejs" target="_blank"&gt;https://developer.dynatrace.com/develop/troubleshoot/troubleshoot-connectivity/#connectivity-of-nodejs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 09:19:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262139#M1151</guid>
      <dc:creator>haris</dc:creator>
      <dc:date>2024-11-12T09:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262149#M1152</link>
      <description>&lt;P&gt;Hi Haris, Firstly, many thanks for your persistent responses, much appreciated&lt;/P&gt;&lt;P&gt;I am successfully able to connect sso.dynatrace.com and my own DT instance as well, the outputs are same as shown in the troubleshooting document&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am unable to connect using Node.js, ending up with "&lt;EM&gt;Error: self-signed certificate in certificate chain&lt;/EM&gt;" - here is the complete output of the cmds mentioned in the troubleshooting document please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\DTApps&amp;gt;npm ping&lt;BR /&gt;npm notice PING &lt;A href="https://{environmentid}.apps.dynatrace.com/" target="_blank"&gt;https://{environmentid}.apps.dynatrace.com/&lt;/A&gt;&lt;BR /&gt;HTTP/1.1 401 Unauthorized&lt;BR /&gt;date: Tue, 12 Nov 2024 09:52:06 GMT&lt;BR /&gt;vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers&lt;BR /&gt;pragma: no-cache&lt;BR /&gt;expires: 0&lt;BR /&gt;Connection: Keep-Alive&lt;BR /&gt;content-type: application/json&lt;BR /&gt;cache-control: no-cache, no-store, max-age=0, must-revalidate&lt;BR /&gt;content-length: 115&lt;BR /&gt;referrer-policy: strict-origin-when-cross-origin&lt;BR /&gt;x-xss-protection: 0&lt;BR /&gt;x-content-type-options: nosniff&lt;BR /&gt;dynatrace-response-source: API Gateway&lt;BR /&gt;strict-transport-security: max-age=31536000 ; includeSubDomains&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;C:\DTApps&amp;gt;curl -I &lt;A href="https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso" target="_blank"&gt;https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso&lt;/A&gt;&lt;BR /&gt;HTTP/1.1 302 Found&lt;BR /&gt;date: Tue, 12 Nov 2024 09:52:29 GMT&lt;BR /&gt;vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers&lt;BR /&gt;pragma: no-cache&lt;BR /&gt;expires: 0&lt;BR /&gt;location: &lt;A href="https://{environmentid}.apps.dynatrace.com/platform/login/oauth2/code/dynatrace-sso&amp;amp;nonce=xxxxxxxxxx&amp;amp;code_challenge=xxxxxxxx&amp;amp;code_challenge_method=S256" target="_blank"&gt;https://{environmentid}.apps.dynatrace.com/platform/login/oauth2/code/dynatrace-sso&amp;amp;nonce=xxxxxxxxxx&amp;amp;code_challenge=xxxxxxxx&amp;amp;code_challenge_method=S256&lt;/A&gt;&lt;BR /&gt;Connection: Keep-Alive&lt;BR /&gt;set-cookie: SESSION-prod3=xxxxxxxxxxxxxxxxxx; Path=/; Domain=apps.dynatrace.com; Secure; HTTPOnly; SameSite=Lax&lt;BR /&gt;cache-control: no-cache, no-store, max-age=0, must-revalidate&lt;BR /&gt;referrer-policy: strict-origin-when-cross-origin&lt;BR /&gt;x-xss-protection: 0&lt;BR /&gt;x-content-type-options: nosniff&lt;BR /&gt;dynatrace-response-source: API Gateway&lt;BR /&gt;strict-transport-security: max-age=31536000 ; includeSubDomains&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;C:\DTApps&amp;gt;node -e "fetch('&lt;A href="https://sso.dynatrace.com').then(console.log" target="_blank"&gt;https://sso.dynatrace.com').then(console.log&lt;/A&gt;)"&lt;BR /&gt;node:internal/deps/undici/undici:13392&lt;BR /&gt;Error.captureStackTrace(err);&lt;BR /&gt;^&lt;/P&gt;&lt;P&gt;TypeError: fetch failed&lt;BR /&gt;at node:internal/deps/undici/undici:13392:13&lt;BR /&gt;at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {&lt;BR /&gt;[cause]: Error: self-signed certificate in certificate chain&lt;BR /&gt;at TLSSocket.onConnectSecure (node:_tls_wrap:1679:34)&lt;BR /&gt;at TLSSocket.emit (node:events:518:28)&lt;BR /&gt;at TLSSocket._finishInit (node:_tls_wrap:1078:8)&lt;BR /&gt;at ssl.onhandshakedone (node:_tls_wrap:864:12) {&lt;BR /&gt;code: 'SELF_SIGNED_CERT_IN_CHAIN'&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Node.js v22.11.0&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 10:02:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262149#M1152</guid>
      <dc:creator>Tanveermd</dc:creator>
      <dc:date>2024-11-12T10:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262170#M1154</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;thanks for the update. This shows an issue with connection, which should be covered here:&amp;nbsp;&lt;A href="https://developer.dynatrace.com/develop/troubleshoot/troubleshoot-connectivity/#connectivity-issues" target="_blank"&gt;https://developer.dynatrace.com/develop/troubleshoot/troubleshoot-connectivity/#connectivity-issues&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Do you have any firewall or proxy in place? Also, can you run:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;openssl s_client -showcerts -connect sso.dynatrace.com:443 &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems something is getting in the way and sends your self signed certificate back when you're accessing via Node.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Have you tried exporting the certificate like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;export org CA cert resolved node connectivity issues
#CA CERT
export NODE_EXTRA_CA_CERTS=/Users/xxxxx/.ssh/org-proxy-chain.pem&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 12 Nov 2024 10:43:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262170#M1154</guid>
      <dc:creator>haris</dc:creator>
      <dc:date>2024-11-12T10:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262255#M1159</link>
      <description>&lt;P&gt;Hi Haris,&lt;/P&gt;&lt;P&gt;After having a Dynatrace provided certificate (.pem) and updating the npm config, I was successfully able to run/build the app, but I am unable to deploy it due to lack of permissions, do you know what permissions a user should have to deploy an app - thought, I would also be able to deploy it as I was able to run/build! but that's not the case&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="username1_0-1731480268953.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24552iEEFD369C7C2D23A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="username1_0-1731480268953.png" alt="username1_0-1731480268953.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 06:46:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262255#M1159</guid>
      <dc:creator>Tanveermd</dc:creator>
      <dc:date>2024-11-13T06:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262317#M1161</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;I'm glad to hear that you've solved the certificate issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To deploy an app, you need the following permission:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;app-engine:apps:install&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Can you confirm that your policy includes this permission in your user group? If not, please add it and retry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 13:31:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262317#M1161</guid>
      <dc:creator>haris</dc:creator>
      <dc:date>2024-11-13T13:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262329#M1162</link>
      <description>&lt;P&gt;Many thanks for your persistent support Haris, much appreciated&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 15:17:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262329#M1162</guid>
      <dc:creator>Tanveermd</dc:creator>
      <dc:date>2024-11-13T15:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262346#M1163</link>
      <description>&lt;P&gt;Happy that I could help you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Feel free to contact us anytime in case you have more questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards, Haris&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 18:18:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262346#M1163</guid>
      <dc:creator>haris</dc:creator>
      <dc:date>2024-11-13T18:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262352#M1165</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/57428"&gt;@haris&lt;/a&gt;&amp;nbsp;I'm facing self signed cert errors when making an api call with the DT JS runtime. Do you know how to supply CA certs to the&amp;nbsp;&lt;STRONG&gt;runtime&lt;/STRONG&gt;? I haven't found a good way to do so:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="calfano_0-1731527590001.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24565i9B1B2AB89960FE4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="calfano_0-1731527590001.png" alt="calfano_0-1731527590001.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 19:53:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/262352#M1165</guid>
      <dc:creator>calfano</dc:creator>
      <dc:date>2024-11-13T19:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/263230#M1175</link>
      <description>&lt;P&gt;Hi calfano,&lt;/P&gt;
&lt;P&gt;since that should be Node runtime, the above should still apply. Does this work for you?&lt;/P&gt;
&lt;DIV class="s-prose js-post-body"&gt;
&lt;PRE class="lang-none s-code-block"&gt;&lt;CODE&gt;$ export NODE_EXTRA_CA_CERTS=[your CA certificate file path]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV class="mt24"&gt;
&lt;DIV class="d-flex fw-wrap ai-start jc-end gs8 gsy"&gt;&lt;TIME datetime="2017-11-07T14:33:03"&gt;&lt;/TIME&gt;
&lt;DIV class="flex--item mr16"&gt;
&lt;DIV class="js-post-menu pt2" data-post-id="47160447" data-post-type-id="2"&gt;
&lt;DIV class="d-flex gs8 s-anchors s-anchors__muted fw-wrap"&gt;Or&amp;nbsp;&lt;BR /&gt;&lt;SPAN class="comment-copy"&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.npmjs.com/misc/config#cafile" rel="nofollow noreferrer" target="_blank"&gt;&lt;CODE&gt;cafile&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;configuration property&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;that&amp;nbsp;&lt;/SPAN&gt;works similarly:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;npm config set cafile [your CA certificate file path]&lt;/CODE&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="d-flex gs8 s-anchors s-anchors__muted fw-wrap"&gt;&lt;SPAN&gt;&lt;SPAN&gt;The main difference is that first one adds a cert, where the cafile replaces the certificates. So to add a CA to the chain, you use the first. It's also possible to specify command line to use a system CA store or CA cert like so:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;PRE class="lang-js s-code-block"&gt;&lt;CODE class="hljs language-javascript" data-highlighted="yes"&gt;node --use-openssl-ca
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or if using env variable:&lt;/P&gt;
&lt;DIV class="s-prose js-post-body"&gt;
&lt;PRE class="lang-js s-code-block"&gt;&lt;CODE class="hljs language-javascript" data-highlighted="yes"&gt;&lt;SPAN class="hljs-variable constant_"&gt;NODE_OPTIONS&lt;/SPAN&gt;=--use-openssl-ca
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV class="mt24"&gt;
&lt;DIV class="d-flex fw-wrap ai-start jc-end gs8 gsy"&gt;&lt;TIME datetime="2021-05-20T10:39:10"&gt;&lt;/TIME&gt;
&lt;DIV class="flex--item mr16"&gt;
&lt;DIV class="js-post-menu pt2" data-post-id="67618741" data-post-type-id="2"&gt;
&lt;DIV class="d-flex gs8 s-anchors s-anchors__muted fw-wrap"&gt;and if using a self-signed CA cert,&amp;nbsp;&lt;SPAN&gt;you would copy the CA file into the image under&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;/usr/local/share/ca-certificates/&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;and run&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;update-ca-certificates&lt;/CODE&gt;.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="d-flex gs8 s-anchors s-anchors__muted fw-wrap"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="d-flex gs8 s-anchors s-anchors__muted fw-wrap"&gt;I hope that helps. Let me know if it doesn't.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Nov 2024 14:19:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/263230#M1175</guid>
      <dc:creator>haris</dc:creator>
      <dc:date>2024-11-21T14:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/264501#M1201</link>
      <description>&lt;P&gt;No luck still using both methods &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this need to be set at the system level? I have these env variables at the user level since I don't have admin privileges on my workstation&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 18:23:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/264501#M1201</guid>
      <dc:creator>calfano</dc:creator>
      <dc:date>2024-12-05T18:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/265444#M1217</link>
      <description>&lt;P&gt;Hi Calfano,&lt;/P&gt;
&lt;P&gt;can you try with system-level variables?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 08:43:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/265444#M1217</guid>
      <dc:creator>haris</dc:creator>
      <dc:date>2024-12-17T08:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/265842#M1221</link>
      <description>&lt;P&gt;Unfortunately, I'm not able to, my workstation is restricted such that I can't set system-level variables &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 20:36:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/265842#M1221</guid>
      <dc:creator>calfano</dc:creator>
      <dc:date>2024-12-19T20:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/266076#M1224</link>
      <description>&lt;P&gt;I'm sorry to hear that. Since it doesn't seem possible to do it with user-level variables, I'll let you know if anything changes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 14:08:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/266076#M1224</guid>
      <dc:creator>haris</dc:creator>
      <dc:date>2024-12-23T14:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating custom app</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/267081#M1243</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58627"&gt;@calfano&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got this same issue as my laptop is behind a company proxy and has custom certificates.&lt;BR /&gt;One thing that you could do is downloading the certificate from the tenant you're trying to run it from, and adding it to your machine globally.&lt;/P&gt;&lt;P&gt;To download the certificate you can open the Dev Tools in Chrome -&amp;gt; Security -&amp;gt; View Certificate -&amp;gt; Details -&amp;gt; Export&lt;/P&gt;&lt;P&gt;You can save it as a Base64 certificate and ensure that the file ends with a .crt extension, then on Windows it's as easy as to double click it, and install it.&lt;/P&gt;&lt;P&gt;An alternative but not recommended method is to set the Enviroment Variable "&lt;SPAN&gt;NODE_TLS_REJECT_UNAUTHORIZED" to the value "0", but take into account that this option is a security risk and your systems people will not be happy about it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 11:46:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Error-while-creating-custom-app/m-p/267081#M1243</guid>
      <dc:creator>archem</dc:creator>
      <dc:date>2025-01-10T11:46:21Z</dc:date>
    </item>
  </channel>
</rss>

