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

Checking signature failed for Custom Extension 2.0 with Python and Dynatrace extension in visual studio code

kpurimitla
Participant

Hi ,

 

I am getting an error Checking signature failed in custom extension 2.0. However, I have used Dynatrace extension in visual studio code which will automatically do this process. And I can see that certificate uploaded successfully in Credential Vault. Can anyone help me to overcome this challenge.

kpurimitla_0-1715924418543.png

 

Thanks in advance. 

7 REPLIES 7

Mike_L
Dynatrace Guru
Dynatrace Guru

What VSCode does is to upload the certificate to the Dynatrace environment. You still need to copy it to the OneAgent/ActiveGate where the extension will run.

Mike

kpurimitla
Participant

Thanks

Theodore_x86
Helper

Hello!

I have the same issue, but the certificate is copied in the Activegate. Do we need any specific user rights?

Thanks!

Houston, we have a problem.

Hi,

It doesn’t require any specific user permissions or rights. Just ensure that the certificate is correctly placed in the Active Gate and added to the Dynatrace credential vault for signing the extension.

Hope that helps!

Actually, the issue was not with user rights but with the owner.

Use the chown so that the Activegate user (dtuserag) can read the certificate.

BR

Houston, we have a problem.

gautier_begin
Mentor

I get the same error. Where should I check the certificate on the ActiveGate and OneAgent ?

Gautier

Answering myself: Sign extensions — Dynatrace Docs

Remote extensions
Upload your root certificate to each ActiveGate host within the ActiveGate group selected for running your extensions

Save the root.pem certificate file in the following location:

Linux:
<CONFIG>/remotepluginmodule/agent/conf/certificates/ (default: /var/lib/dynatrace/remotepluginmodule/agent/conf/certificates/)
Windows:
%PROGRAMDATA%\dynatrace\remotepluginmodule\agent\conf\certificates
Local extensions
Upload your root certificate to each OneAgent host or each OneAgent host within the host group selected for running your extensions.

Save the root.pem certificate file in the following location:

Linux:
/var/lib/dynatrace/oneagent/agent/config/certificates
Windows:
%PROGRAMDATA%\dynatrace\oneagent\agent\config\certificates

Featured Posts