# Getting and using the certificate file to launch locally app server - custom Dynatrace applications (Windows - Google Chrome)

**URL:** <https://community.dynatrace.com/t/getting-and-using-the-certificate-file-to-launch-locally-app-server-custom-dynatrace-applications-windows-google-chrome/49810>\
**Category:** Dynatrace Tips\
**Tags:** custom-app\
**Created:** [January 18, 2025, 5:01am UTC](https://community.dynatrace.com/t/getting-and-using-the-certificate-file-to-launch-locally-app-server-custom-dynatrace-applications-windows-google-chrome/49810 "2025-01-18T05:01:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris\_cho](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chris_cho/32/23527_2.png) [@chris\_cho](https://community.dynatrace.com/u/chris_cho)\
**Post date:** [January 18, 2025, 5:01am UTC](https://community.dynatrace.com/t/getting-and-using-the-certificate-file-to-launch-locally-app-server-custom-dynatrace-applications-windows-google-chrome/49810/1 "2025-01-18T05:01:59Z")

</div>

Hello,

After weeks, trying to have a cleaner and more stable app development environment, and checking others’ messages and replies, I found the way avoiding to disable the reject of unauthorized calls set through environment&nbsp; variable&nbsp;$ENV:NODE\_TLS\_REJECT\_UNAUTHORIZED=“0”  
The simple way getting the certificate is from Dynatrace app URL icon

 ![chris_cho_0-1737177657547.png](https://global.discourse-cdn.com/dynatrace/original/2X/8/8a508db67c475d989e15c92d3b914ea917f83fd1.png)

Make sure you select the top/root of&nbsp;hierarchies [**Certificate Hierarchy**] and [**Certificate Fields**], from [**Details**] tab, and click on [**Export**] button, saving the certificate under a folder and name that you will use later setting up the environment variable&nbsp; **$ENV:NODE\_EXTRA\_CA\_CERTS** =“_\<selected\_path\>\\<selected\_file\_name\>.crt_\*\*”

Once the certs environment variable is set, you can launch locally the app server, with:  
**npx dt-app dev**

I hope this way helps others, too.
