# Monitor SSL Certificate Expiry and Create Alerts in Dynatrace

**URL:** <https://community.dynatrace.com/t/monitor-ssl-certificate-expiry-and-create-alerts-in-dynatrace/19966>\
**Category:** Open Q&A\
**Tags:** data-privacy-and-product-security, sso\
**Created:** [March 13, 2019, 8:21am UTC](https://community.dynatrace.com/t/monitor-ssl-certificate-expiry-and-create-alerts-in-dynatrace/19966 "2019-03-13T08:21:56Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikram\_narawad1](https://avatars.discourse-cdn.com/v4/letter/v/c89c15/32.png) [@vikram\_narawad1](https://community.dynatrace.com/u/vikram_narawad1)\
**Post date:** [March 13, 2019, 8:21am UTC](https://community.dynatrace.com/t/monitor-ssl-certificate-expiry-and-create-alerts-in-dynatrace/19966/1 "2019-03-13T08:21:56Z")

</div>

_Summary:&nbsp;This thread describes how to monitor SSL certificate expiry in Dynatrace using synthetic monitors or built‑in certificate metrics. It explains alert configuration to prevent outages caused by expired certificates._

Need to monitor SSL certificate expiry and generate an alert for the same.

---

<div class="post-metadata">

**Author:** ![AlexanderSommer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alexandersommer/32/2501_2.png) [@AlexanderSommer](https://community.dynatrace.com/u/AlexanderSommer)\
**Post date:** [March 13, 2019, 8:57am UTC](https://community.dynatrace.com/t/monitor-ssl-certificate-expiry-and-create-alerts-in-dynatrace/19966/2 "2019-03-13T08:57:22Z")

</div>

Can you please create a product idea for this use case with some details:

> **[Login | Dynatrace](https://sso.dynatrace.com/action/signin?goto=https%3A%2F%2Fsso.dynatrace.com%3A443%2Foauth2%2Fauthorize%2Fredirect%3FoAuth2CtxUuid%3D77c3ff6a-b9c2-4144-9f49-e89ce0646e2a&oAuth2RedirectUri=https%3A%2F%2Fcommunity.dynatrace.com%2Fauth%2Foauth2callback)**

For example: Could we create a synthetic monitor and check for the certificate? Do you want to get the alert X-days before it expires or just if it is expired?

At the moment Dynatrace can’t do that.

---

<div class="post-metadata">

**Author:** ![vikram\_narawad1](https://avatars.discourse-cdn.com/v4/letter/v/c89c15/32.png) [@vikram\_narawad1](https://community.dynatrace.com/u/vikram_narawad1)\
**Post date:** [March 13, 2019, 10:35am UTC](https://community.dynatrace.com/t/monitor-ssl-certificate-expiry-and-create-alerts-in-dynatrace/19966/3 "2019-03-13T10:35:09Z")

</div>

Hi Alexander,

Could you please elaborate more on synthetic monitor. How can we create synthetic monitor for SSL certificate expiry check ?

Any example would be appreciated.

And yes we want an alert to be triggered atleast 2 days before expiry.

---

<div class="post-metadata">

**Author:** ![Vikram\_Narawade](https://avatars.discourse-cdn.com/v4/letter/v/d9b06d/32.png) [@Vikram\_Narawade](https://community.dynatrace.com/u/Vikram_Narawade)\
**Post date:** [September 18, 2019, 11:35am UTC](https://community.dynatrace.com/t/monitor-ssl-certificate-expiry-and-create-alerts-in-dynatrace/19966/4 "2019-09-18T11:35:40Z")

</div>

[@Alexander S.](https://answers.dynatrace.com/users/12024/view.html) :Could you please share your inputs on my above query. For creating a synthetic monitor we will need some URL to add, it would be good if you give some example so that i can replicate the same in my environment. Thanks

looping [@Juliano C.](https://answers.dynatrace.com/users/30077/view.html) who supports us in our program.

Regards,

Vikram

---

<div class="post-metadata">

**Author:** ![juliano\_costa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/juliano_costa/32/1638_2.png) [@juliano\_costa](https://community.dynatrace.com/u/juliano_costa)\
**Post date:** [September 19, 2019, 9:41am UTC](https://community.dynatrace.com/t/monitor-ssl-certificate-expiry-and-create-alerts-in-dynatrace/19966/5 "2019-09-19T09:41:40Z")

</div>

Just to keep all the info within the same post, I’d like to add the Product Idea raised by Vikram regarding this topic:

> **[Login | Dynatrace](https://sso.dynatrace.com/action/signin?goto=https%3A%2F%2Fsso.dynatrace.com%3A443%2Foauth2%2Fauthorize%2Fredirect%3FoAuth2CtxUuid%3D8ef70f41-fc48-4cb1-b06e-958f9ee5b086&oAuth2RedirectUri=https%3A%2F%2Fcommunity.dynatrace.com%2Fauth%2Foauth2callback)**

---

<div class="post-metadata">

**Author:** ![brayden\_neale](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/brayden_neale/32/24523_2.png) [@brayden\_neale](https://community.dynatrace.com/u/brayden_neale)\
**Post date:** [March 31, 2021, 2:05am UTC](https://community.dynatrace.com/t/monitor-ssl-certificate-expiry-and-create-alerts-in-dynatrace/19966/6 "2021-03-31T02:05:31Z")

</div>

Hi All,

You can now check SSL certificate expiry directly from Dynatrace synthetic HTTP monitors.  
As of cluster version 1.2.12

 ![brayden_neale_0-1617156164481.png](https://global.discourse-cdn.com/dynatrace/original/2X/3/35223d1246332f13e7ecbd9c82d9fc12cf7a83b3.png)

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [March 31, 2021, 8:40am UTC](https://community.dynatrace.com/t/monitor-ssl-certificate-expiry-and-create-alerts-in-dynatrace/19966/7 "2021-03-31T08:40:57Z")

</div>

You can use the [SSL cert check plugin](https://community.dynatrace.com/post/120538) my colleague&nbsp;[@r\_weber](https://community.dynatrace.com/user/35901)&nbsp;wrote.

---

<div class="post-metadata">

**Author:** ![ctuttle48](https://avatars.discourse-cdn.com/v4/letter/c/e274bd/32.png) [@ctuttle48](https://community.dynatrace.com/u/ctuttle48)\
**Post date:** [April 4, 2022, 9:29pm UTC](https://community.dynatrace.com/t/monitor-ssl-certificate-expiry-and-create-alerts-in-dynatrace/19966/8 "2022-04-04T21:29:44Z")

</div>

I would be nice if this was built into the full stack monitoring.

---

<div class="post-metadata">

**Author:** ![Bill\_Demsky](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/bill_demsky/32/11557_2.png) [@Bill\_Demsky](https://community.dynatrace.com/u/Bill_Demsky)\
**Post date:** [August 25, 2022, 2:55pm UTC](https://community.dynatrace.com/t/monitor-ssl-certificate-expiry-and-create-alerts-in-dynatrace/19966/9 "2022-08-25T14:55:26Z")

</div>

This works really well, but it would be good to be able to schedule the frequency for more than once an hour. Once a day or even once a week would be frequent enough to check for the certificate expiration. Can we get a longer time for these tests, please.

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [August 25, 2022, 3:45pm UTC](https://community.dynatrace.com/t/monitor-ssl-certificate-expiry-and-create-alerts-in-dynatrace/19966/10 "2022-08-25T15:45:33Z")

</div>

[@Bill\_Demsky](https://community.dynatrace.com/user/386)&nbsp;totally agree with your request !

Till this request will be full fill you can try utilize Maintenance Window to suppress the running of synthetic checks.

 ![Yosi_Neuman_1-1661442107563.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/5/c5741830e41dd9ac65e338dd892a251f2fb62fab.png)

Tried that and its look its working OK

Another way to run it every now and then will be by using&nbsp;[API: Synthetic - On-demand monitor executions](https://www.dynatrace.com/support/help/shortlink/on-demand-executions#api)

HTH

Yos
