# Could not resolve the SSO-URL for tenant

**URL:** <https://community.dynatrace.com/t/could-not-resolve-the-sso-url-for-tenant/45896>\
**Category:** Developer Q&A Forum\
**Tags:** custom-app\
**Created:** [June 3, 2024, 7:49pm UTC](https://community.dynatrace.com/t/could-not-resolve-the-sso-url-for-tenant/45896 "2024-06-03T19:49:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![avinashpodisett](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@avinashpodisett](https://community.dynatrace.com/u/avinashpodisett)\
**Post date:** [June 3, 2024, 7:49pm UTC](https://community.dynatrace.com/t/could-not-resolve-the-sso-url-for-tenant/45896/1 "2024-06-03T19:49:05Z")

</div>

Hi ,&nbsp;  
&nbsp;i am trying to deploy a test app following the documentation - https://{environmentid}.apps.dynatrace.com  
fyi.. support recommended to use specific version instead of latest, as i am running into an issue&nbsp;&nbsp;‘ECONNRESET’,

while starting the app “npm run start” running into following error. seems like node js connectivity issue, can someone please help me on how to fix this  
Error: Could not resolve the SSO-URL for ‘https://{environmentid}.apps.dynatrace.com’  
Http(s) request failed: self-signed certificate in certificate chain

Following are the Trouble shooting steps that i did - https://{environmentid}.apps.dynatrace.com/  
HTTP/1.1 200 Connection established  
HTTP/1.1 401 Unauthorized

\_\_\_\_\_\_\_\_\_\_\_\_

curl -I https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso  
HTTP/1.1 200 Connection established  
HTTP/1.1 302 Found

\_\_\_\_\_\_\_\_\_\_\_\_

node -e “fetch(‘[https://sso.dynatrace.com](https://sso.dynatrace.com)’).then(console.log)”  
node:internal/deps/undici/undici:12502  
Error.captureStackTrace(err, this);  
^

TypeError: fetch failed  
at node:internal/deps/undici/undici:12502:13  
at process.processTicksAndRejections (node:internal/process/task\_queues:95:5) {  
[cause]: Error: self-signed certificate in certificate chain  
at TLSSocket.onConnectSecure (node:\_tls\_wrap:1674:34)  
at TLSSocket.emit (node:events:519:28)  
at TLSSocket.\_finishInit (node:\_tls\_wrap:1085:8)  
at ssl.onhandshakedone (node:\_tls\_wrap:871:12) {  
code: ‘SELF\_SIGNED\_CERT\_IN\_CHAIN’  
}  
}

Node.js v20.14.0

running on&nbsp; macOS

---

<div class="post-metadata">

**Author:** ![avinashpodisett](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@avinashpodisett](https://community.dynatrace.com/u/avinashpodisett)\
**Post date:** [June 3, 2024, 7:53pm UTC](https://community.dynatrace.com/t/could-not-resolve-the-sso-url-for-tenant/45896/2 "2024-06-03T19:53:00Z")

</div>

Fyi.. i do have Proxy server in place

---

<div class="post-metadata">

**Author:** ![avinashpodisett](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@avinashpodisett](https://community.dynatrace.com/u/avinashpodisett)\
**Post date:** [June 3, 2024, 8:33pm UTC](https://community.dynatrace.com/t/could-not-resolve-the-sso-url-for-tenant/45896/3 "2024-06-03T20:33:56Z")

</div>

export org CA cert resolved node connectivity issues  
#CA CERT  
export NODE\_EXTRA\_CA\_CERTS=/Users/xxxxx/.ssh/org-proxy-chain.pem
