# Issue with custom extension creator

**URL:** <https://community.dynatrace.com/t/issue-with-custom-extension-creator/49688>\
**Category:** Extensions\
**Tags:** databases, ibm, extensions\
**Created:** [January 13, 2025, 5:51pm UTC](https://community.dynatrace.com/t/issue-with-custom-extension-creator/49688 "2025-01-13T17:51:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [January 13, 2025, 5:51pm UTC](https://community.dynatrace.com/t/issue-with-custom-extension-creator/49688/1 "2025-01-13T17:51:41Z")

</div>

Hi Folks,

I have created extension using custom extension creator for getting result of queries and configure alert out of it.

Extension is created and deployed successfully however, it is throwing an error,

```auto
Failed to assign monitoring configuration to ActiveGate. Reason: Cannot extract extension from /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/download/custom_temp-extension: checking signature failed

```

Steps followed are,

1. Install dt-cli
2. Generate CA cert using&nbsp;_dt extension genca --no-ca-passphrase_
3. Generate developer.pem using&nbsp;_dt extension generate-developer-pem -o developer.pem --ca-crt ca.pem --ca-key ca.key --name ‘JDoe’_
4. Copy ca.pem to&nbsp;/var/lib/dynatrace/remotepluginmodule/agent/conf/certificates on ActiveGate server
5. Restart the ActiveGate
6. Add ca.pem to credential vault as public certificate (two options are present, certificate and public certificate)

I went through the&nbsp;[community thread](https://community.dynatrace.com/post/210952)&nbsp;but this extension was created using VScode and certificate exported via Visual studio (I used python to export the required certificates)

Is there any step I’m missing here? Please guide.

Regards,  
AK

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [January 13, 2025, 11:04pm UTC](https://community.dynatrace.com/t/issue-with-custom-extension-creator/49688/2 "2025-01-13T23:04:49Z")

</div>

Hi&nbsp;[@AK](https://community.dynatrace.com/user/2080)

Thanks for sharing such case, I’d suggest checking the following points:

- Ensure that the Dynatrace ActiveGate process has the necessary read/write permissions on the /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions directory and its contents.
- Ensure that the extension is compatible with ActiveGate version, so kindly update the extension and ActiveGate to the latest supported versions.
- Clear cached extension: through removing any potentially corrupted extension files in case you’re suspecting specific files in the extensions&nbsp;directory and attempt to reassign the monitoring configuration. You can achieve this through:

rm -rf /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/download/

- Then reapply the configuration.
- Regarding the extension signature: ensure it is signed correctly and that the signature is accepted by Dynatrace.
- Checking and reviewing AG log contents regarding the highlighted error.
- If you’re using AG group, it’s preferred to ensure the extension is uploaded to the same directory on both AGs.

Hoping it helps.  
BR,

Peter

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [January 13, 2025, 11:07pm UTC](https://community.dynatrace.com/t/issue-with-custom-extension-creator/49688/3 "2025-01-13T23:07:41Z")

</div>

Hi&nbsp;[@AK](https://community.dynatrace.com/user/2080)

PFA resources for further help:

- [Develop your own Extensions — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/troubleshooting-active-extension)

Thanks

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [January 13, 2025, 11:16pm UTC](https://community.dynatrace.com/t/issue-with-custom-extension-creator/49688/4 "2025-01-13T23:16:14Z")

</div>

Hi&nbsp;[@AK](https://community.dynatrace.com/user/2080)

also PFA resources:

- [SQL data source reference — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/extensions-security)
- Ensure EEC is enabled and activated properly on the target AGs :&nbsp;[Extension Execution Controller custom configuration — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/eec-custom-configuration)
- [Develop your own Extensions — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/activegate-extensions-tutorial)
- [Sign extensions — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/sign-extension)

Thanks.

---

<div class="post-metadata">

**Author:** ![erh\_inetum](https://avatars.discourse-cdn.com/v4/letter/e/48db29/32.png) [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Post date:** [January 14, 2025, 9:06am UTC](https://community.dynatrace.com/t/issue-with-custom-extension-creator/49688/5 "2025-01-14T09:06:49Z")

</div>

Hi&nbsp;[@AK](https://community.dynatrace.com/user/2080)&nbsp;,

Did you sign the extension before uploading to your tenant?

Regards,

Elena.

---

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [January 14, 2025, 12:35pm UTC](https://community.dynatrace.com/t/issue-with-custom-extension-creator/49688/6 "2025-01-14T12:35:19Z")

</div>

[@erh\_inetum](https://community.dynatrace.com/user/40722), thank you for the response.  
I’m using feature ‘custom extension creator’. Which I think, doesn’t require to upload the extension to tenant. Post generating developer.pem and adding ca.pem to cred vault and ActiveGate, we just have to deploy it from the extension creator page itself and it will start showing under hub page as self authored extension.  
Adding screenshot below for information.

 ![AK_2-1736858107730.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/1f285b2b15ba009ae06391c6f03f15bbe77ea8c1.png)

Regards,  
AK

---

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [January 14, 2025, 12:42pm UTC](https://community.dynatrace.com/t/issue-with-custom-extension-creator/49688/7 "2025-01-14T12:42:43Z")

</div>

[@Peter\_Youssef](https://community.dynatrace.com/user/51369), thank you for all the useful links. That gave me hint to resolve above mentioned issue.  
[Restarting EEC](https://docs.dynatrace.com/docs/ingest-from/extensions20/eec-custom-configuration#:~:text=For%20systems%20with%20systemd) (Extension execution controller) did work for me.  
I’m using the same AG which were earlier used for another extension.&nbsp;Restarting EEC might have cleared the cache on AG, and it started working.  
Regards,  
AK

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [January 20, 2025, 8:43am UTC](https://community.dynatrace.com/t/issue-with-custom-extension-creator/49688/8 "2025-01-20T08:43:12Z")

</div>

Hello&nbsp;[@AK](https://community.dynatrace.com/user/2080)

It’s my pleasure to contribute together till getting the raised concern sorted, Dynatrace documentation is a crucial pillar in troubleshooting activities.

EEC is playing a critical role specially in extensions.

Thanks for sharing the status update as well.
