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.
Thanks in advance.
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.
Hello!
I have the same issue, but the certificate is copied in the Activegate. Do we need any specific user rights?
Thanks!
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
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