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

How to Change Certificate Path for Dynatrace Extension Signing?

Eyad
Guide

Hi all,

I'm building a custom extension using the Dynatrace Extension Framework v2 and encountering an issue during the signing process.

When I run dt extension build, it fails with the following error:

FileNotFoundError: Certificate C:\Users\<someUser>\.dynatrace\certificates\developer.pem not found

 

However, I've set a custom certificate path in my VS Code settings.json file:

 

 
{ "dynatraceExtensions.developerCertkeyLocation": "C:\\Path\\To\\Custom\\certificates\\developer.pem", "dynatraceExtensions.rootOrCaCertificateLocation": "C:\\Path\\To\\Custom\\certificates\\ca.pem" }
we used Dynatrace Docs Settings | Dynatrace Developer to do this step.

Despite this, the CLI continues to reference the default path under .dynatrace\certificates.

Could you clarify the following:

  1. Does settings.json override the certificate location used by dt extension build?

  2. If not, where should I configure the certificate path correctly?

  3. Is there an environment variable or CLI flag to explicitly specify the certificate file for signing?

Thanks in advance for your support!

0 REPLIES 0

Featured Posts