cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

chris_cho
Contributor

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  variable $ENV:NODE_TLS_REJECT_UNAUTHORIZED="0"
The simple way getting the certificate is from Dynatrace app URL icon

chris_cho_0-1737177657547.png

Make sure you select the top/root of 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 $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.

0 REPLIES 0

Featured Posts