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

**URL:** <https://community.dynatrace.com/t/checking-signature-failed-for-custom-extension-2-0-with-python-and-dynatrace-extension-in-visual-studio-code/45641>\
**Category:** Extensions\
**Tags:** extensions\
**Created:** [May 17, 2024, 5:40am UTC](https://community.dynatrace.com/t/checking-signature-failed-for-custom-extension-2-0-with-python-and-dynatrace-extension-in-visual-studio-code/45641 "2024-05-17T05:40:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kpurimitla](https://avatars.discourse-cdn.com/v4/letter/k/ecccb3/32.png) [@kpurimitla](https://community.dynatrace.com/u/kpurimitla)\
**Post date:** [May 17, 2024, 5:40am UTC](https://community.dynatrace.com/t/checking-signature-failed-for-custom-extension-2-0-with-python-and-dynatrace-extension-in-visual-studio-code/45641/1 "2024-05-17T05:40:41Z")

</div>

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](https://global.discourse-cdn.com/dynatrace/original/2X/e/e0fad9c649fba286acb61030d5c088d1ca4068fb.png)

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [May 17, 2024, 1:00pm UTC](https://community.dynatrace.com/t/checking-signature-failed-for-custom-extension-2-0-with-python-and-dynatrace-extension-in-visual-studio-code/45641/2 "2024-05-17T13:00:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![kpurimitla](https://avatars.discourse-cdn.com/v4/letter/k/ecccb3/32.png) [@kpurimitla](https://community.dynatrace.com/u/kpurimitla)\
**Post date:** [May 24, 2024, 4:52am UTC](https://community.dynatrace.com/t/checking-signature-failed-for-custom-extension-2-0-with-python-and-dynatrace-extension-in-visual-studio-code/45641/3 "2024-05-24T04:52:47Z")

</div>

Thanks

---

<div class="post-metadata">

**Author:** ![Theodore\_x86](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/theodore_x86/32/17620_2.png) [@Theodore\_x86](https://community.dynatrace.com/u/Theodore_x86)\
**Post date:** [October 3, 2024, 10:38am UTC](https://community.dynatrace.com/t/checking-signature-failed-for-custom-extension-2-0-with-python-and-dynatrace-extension-in-visual-studio-code/45641/4 "2024-10-03T10:38:46Z")

</div>

Hello!

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

Thanks!

---

<div class="post-metadata">

**Author:** ![kpurimitla](https://avatars.discourse-cdn.com/v4/letter/k/ecccb3/32.png) [@kpurimitla](https://community.dynatrace.com/u/kpurimitla)\
**Post date:** [October 4, 2024, 3:24pm UTC](https://community.dynatrace.com/t/checking-signature-failed-for-custom-extension-2-0-with-python-and-dynatrace-extension-in-visual-studio-code/45641/5 "2024-10-04T15:24:47Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Theodore\_x86](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/theodore_x86/32/17620_2.png) [@Theodore\_x86](https://community.dynatrace.com/u/Theodore_x86)\
**Post date:** [October 4, 2024, 6:46pm UTC](https://community.dynatrace.com/t/checking-signature-failed-for-custom-extension-2-0-with-python-and-dynatrace-extension-in-visual-studio-code/45641/6 "2024-10-04T18:46:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gautier\_begin](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@gautier\_begin](https://community.dynatrace.com/u/gautier_begin)\
**Post date:** [July 8, 2025, 9:20am UTC](https://community.dynatrace.com/t/checking-signature-failed-for-custom-extension-2-0-with-python-and-dynatrace-extension-in-visual-studio-code/45641/7 "2025-07-08T09:20:34Z")

</div>

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

Gautier

---

<div class="post-metadata">

**Author:** ![gautier\_begin](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@gautier\_begin](https://community.dynatrace.com/u/gautier_begin)\
**Post date:** [July 8, 2025, 9:47am UTC](https://community.dynatrace.com/t/checking-signature-failed-for-custom-extension-2-0-with-python-and-dynatrace-extension-in-visual-studio-code/45641/8 "2025-07-08T09:47:46Z")

</div>

Answering myself:&nbsp;[Sign extensions — Dynatrace Docs](https://docs.dynatrace.com/docs/ingest-from/extensions20/sign-extension#upload)

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
