# Monitor expiration date of certificate (not SSL) in Dynatrace Managed

**URL:** <https://community.dynatrace.com/t/monitor-expiration-date-of-certificate-not-ssl-in-dynatrace-managed/54328>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed, problems-classic\
**Created:** [December 8, 2025, 10:53am UTC](https://community.dynatrace.com/t/monitor-expiration-date-of-certificate-not-ssl-in-dynatrace-managed/54328 "2025-12-08T10:53:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![superuser786](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@superuser786](https://community.dynatrace.com/u/superuser786)\
**Post date:** [December 8, 2025, 10:53am UTC](https://community.dynatrace.com/t/monitor-expiration-date-of-certificate-not-ssl-in-dynatrace-managed/54328/1 "2025-12-08T10:53:09Z")

</div>

i have https endpoint and the output will be like below, i want to configure dynatrace alert if expiry date 15days before.. is it possible in dynatrace and how to configure?

Output:

{  
“status”: “UP”,  
“details”: {  
“AB\_TEST”: {  
“issuer”: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”,  
“subject”: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”,  
“serial”: xxxxxxxxxx,  
“validity”: {  
“from”: “2025-01-28T11:39:52”,&nbsp; &nbsp;-------\> i want to configure this alert before certificate expiry  
“to”: “2026-02-27T11:39:51”  
},

---

<div class="post-metadata">

**Author:** ![superuser786](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@superuser786](https://community.dynatrace.com/u/superuser786)\
**Post date:** [December 8, 2025, 10:53am UTC](https://community.dynatrace.com/t/monitor-expiration-date-of-certificate-not-ssl-in-dynatrace-managed/54328/2 "2025-12-08T10:53:39Z")

</div>

i am using managed dynatrace

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [December 8, 2025, 11:17am UTC](https://community.dynatrace.com/t/monitor-expiration-date-of-certificate-not-ssl-in-dynatrace-managed/54328/3 "2025-12-08T11:17:41Z")

</div>

Hi,

You can explore Synthetic monitoring. You can create a Synthetic monitor and alert base on certificate expiration.

Best regards

---

<div class="post-metadata">

**Author:** ![Kenny\_Gillette](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/kenny_gillette/32/20170_2.png) [@Kenny\_Gillette](https://community.dynatrace.com/u/Kenny_Gillette)\
**Post date:** [December 8, 2025, 3:25pm UTC](https://community.dynatrace.com/t/monitor-expiration-date-of-certificate-not-ssl-in-dynatrace-managed/54328/4 "2025-12-08T15:25:18Z")

</div>

still should be able to use Classic Synthetics

 ![Kenny_Gillette_0-1765207509136.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/d/cde135294b87a2a80b9e860d6aabc7372bf8362f.png)

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [December 8, 2025, 9:53pm UTC](https://community.dynatrace.com/t/monitor-expiration-date-of-certificate-not-ssl-in-dynatrace-managed/54328/5 "2025-12-08T21:53:40Z")

</div>

Hello,

Synthetic monitoring is the best solution in this context, i have used this and works perfectly.

Thanks,

Tijust

---

<div class="post-metadata">

**Author:** ![superuser786](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@superuser786](https://community.dynatrace.com/u/superuser786)\
**Post date:** [December 9, 2025, 5:18am UTC](https://community.dynatrace.com/t/monitor-expiration-date-of-certificate-not-ssl-in-dynatrace-managed/54328/6 "2025-12-09T05:18:28Z")

</div>

i am aware that synthetic for only SSL, but my query is how to monitor synthetic with the output of the endpoint that i attached above

---

<div class="post-metadata">

**Author:** ![superuser786](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@superuser786](https://community.dynatrace.com/u/superuser786)\
**Post date:** [December 9, 2025, 5:25am UTC](https://community.dynatrace.com/t/monitor-expiration-date-of-certificate-not-ssl-in-dynatrace-managed/54328/7 "2025-12-09T05:25:43Z")

</div>

i cant achieve using synthetic why because its only for SSL certificate validations, can you share how do you achieve the api output text to monitor and send the alert? i have attached my code out put above chat

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [December 9, 2025, 5:32am UTC](https://community.dynatrace.com/t/monitor-expiration-date-of-certificate-not-ssl-in-dynatrace-managed/54328/8 "2025-12-09T05:32:41Z")

</div>

ok, understood, To achieve this, you can create an HTTP Synthetic Monitor in Dynatrace. Start by navigating to Synthetic → Create HTTP monitor, and enter the URL of your endpoint that returns the JSON with certificate details. Once the monitor is set up, add a JavaScript validation step after the request. In this step, you’ll parse the JSON response and calculate how many days remain until the expiry date.If the endpoint data is coming in logs instead of being accessible via a direct URL, then a Synthetic monitor won’t work because it needs an HTTP endpoint to call. In that case&nbsp;If the JSON snippet appears in your logs instead of an API endpoint, you can leverage Log Monitoring. The idea is to extract the expiry date from the log and turn it into a metric for alerting. First, create a log processing rule to capture the validity.to field as a custom attribute. Next, convert that date into a timestamp and calculate the difference from the current time. Once you have this value, push it as a custom metric (like, days\_until\_expiry). Finally, set up a custom alerting rule that triggers when days\_until\_expiry is less than 15

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [December 9, 2025, 8:02am UTC](https://community.dynatrace.com/t/monitor-expiration-date-of-certificate-not-ssl-in-dynatrace-managed/54328/9 "2025-12-09T08:02:47Z")

</div>

Hi,

You can use Synthetic using custom Javascript&colon;

- Make GET request.
- Extract information you want for JSON.
- Compare date with actual date.
- Create event failure if lower than 15 days.

Best regards
