# Does Dynatrace monitor SSL certificate validation?

**URL:** <https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357>\
**Category:** Extensions\
**Tags:** ssl, extensions\
**Created:** [July 10, 2019, 1:57pm UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357 "2019-07-10T13:57:33Z")\
**Posts on this page:** 19\
**Page:** 3

<div class="post-metadata">

**Author:** ![darshana2703](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@darshana2703](https://community.dynatrace.com/u/darshana2703)\
**Post date:** [August 11, 2020, 3:09pm UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/41 "2020-08-11T15:09:36Z")

</div>

Hi Julius,

I have uploaded the plugin via dynatrace UI and unzipped the file the /opt/dynatrace/oneagent/plugin\_deployment.

 ![26044-1597158520295.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/2/02eed8e441084402cb89658b72cc3726718847a1.png)

But I am not able to see any data .

Note : Since plugin\_deplyment directory was not available by default I created this directory then proceeded with further steps.

 ![26042-1597158430728.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/a/baa2b9accfa65968a1fb7e967de24f426a37af7b.png)

Also i m not able to see log file for plugin in /opt/dynatrace/oneagent/log

 ![26043-1597158464823.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/07a9b611a7d0608a94f0ba3e329c6b72801ba416.png)

I have tried using both 1.0 and 1.01 version but no success

Am i missing anything ?

---

<div class="post-metadata">

**Author:** ![siddhi\_parkar](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@siddhi\_parkar](https://community.dynatrace.com/u/siddhi_parkar)\
**Post date:** [August 20, 2020, 1:27pm UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/42 "2020-08-20T13:27:58Z")

</div>

[@Leon Van Z.](https://answers.dynatrace.com/users/33542/view.html)Thank you for the plugin.I have successfully uploaded activegate plugin in dynatrace but not able to capture the details…It has getting error: Hosts not being polled..Also I have query about host details format..The format is like www.example.com:443 but I have entered hostname like example:443 which is the name assign to particular host…could you please help me to resolve this issue.

---

<div class="post-metadata">

**Author:** ![skanchalwar2](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@skanchalwar2](https://community.dynatrace.com/u/skanchalwar2)\
**Post date:** [November 9, 2020, 2:23am UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/43 "2020-11-09T02:23:04Z")

</div>

Pls see if this Synthetic monitoring option works for you.

> **[Create an HTTP monitor in Classic](https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/http-monitors-classic/create-an-http-monitor-classic)**
>
> Learn how to set up an HTTP monitor to check the performance and availability of your site.

 ![27218-1604888573010.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/50c46fbc1f78898cf261efe33e48d783c37d0c62.png)

---

<div class="post-metadata">

**Author:** ![kalle\_lahtinen](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kalle\_lahtinen](https://community.dynatrace.com/u/kalle_lahtinen)\
**Post date:** [November 9, 2020, 3:42pm UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/44 "2020-11-09T15:42:45Z")

</div>

Hi,

Does anyone know whether that would work for browser/clickpath monitors? At least based on my quick testing, an invalid cert didn’t show the clickpath as unavailable. It’s strange in a way that browser monitors are the more advanced ones (and expensive regarding DEM consumption) but appear to be missing the certificate check feature?

---

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [November 10, 2020, 8:47am UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/45 "2020-11-10T08:47:39Z")

</div>

I see different approaches for testing the validity of a certificate and great that there are now multiple plugins to do so, with different advantages:

| OneAgent Plugin | 
- only possible to check local plugins by default.
- Certificate (SSL connect) must be on the local server where the oneagent runs
- would not work if the certificate/ssl is e.g. hosted/terminated externally (e.g. a F5 without an agent installed)
- could potentially check the certificate file directly instead of doing an SSL connect

 |
| ActiveGate Plugin | 
- can connect to any ssl endpoint (just like a synthetic monitor)
- obviously needs an Active Gate for plugin execution

 |
| Standard synthetic monitors | 
- doesn't exist yet
- would be integrated where it's naturally expected - with synthetic tests
- only "valid" checks exist so far
- an additional expiry in x days would be useful and shouldn't be too hard to build, but would add additional verification steps on every execution
- an extra synthetic monitor that runs every 24hrs only once could be an option also - low frequency would be enough and not too costly

 |

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 10, 2020, 9:40am UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/46 "2020-11-10T09:40:48Z")

</div>

Just to add for the OneAgent plugin - I considered checking the files or keystores (I did similar plugin for a different monitoring tool a while ago) it has severe limitations:

- Extensions run as non-privileged user. It’s very likely extension won’t have access to certificate or keystore files from the extension itself.
- I tried to implement certfile checks in in the SSL OneAgent extension anyway, but all useful python modules required native libraries conflicting with the extension engine libraries. I simply could not get this working. Maybe I did not try hard enough.
- A remote check can be done from OneAgent, but you cannot send events to entities outside the OneAgent monitored host or process.

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [November 10, 2020, 8:17pm UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/47 "2020-11-10T20:17:23Z")

</div>

Nice summary!

I would add that some HTTPS sites are not globally accessible. That might mean that Activegate and/or synthetic monitors might not reach them.

I can imagine that OneAgent plugins can also check remote servers, like Július refers to, but there might be limitations there.

There’s also always the API route…

Will also be interesting to know if some type of information regarding TLS security will be available in the incoming Dynatrace security functionality…

---

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [November 12, 2020, 9:07pm UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/48 "2020-11-12T21:07:49Z")

</div>

**Plugin-less SSL Check for public sites with Dynatrace Synthetic!**

I’ve been digging a bit more for a solution that does not require any custom agent or active gate plugins and would reuse what is already existing with the standard synthetic monitors.

I found a feasible workaround solution that at least works for public sites, which might be handy for people:

It works like this:

- Use a basic HTTP synthetic monitor
- in combination with a public SSL-Check site that provides an API: [https://ssltools.godaddy.com/views/certChecker](https://ssltools.godaddy.com/views/certChecker)
- Create a HTTP Post request in the monitor that POSTs to that API with the URL that you want to check.
- Use a Post-Execution script to validate the response/evaluate the expiry information and eventually fail the synthetic monitor via it’s api calls ([see here](https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/http-monitors/pre-and-post-scripting-for-http-monitors/))

I’m attaching the Synthetic monitor definition so you can post that via the config-api to create such a monitor: [synthettic-monitor-http-ssl-check.json.zip](https://answers.dynatrace.com/storage/temp/27307-synthettic-monitor-http-ssl-checkjson.zip)  
(API first - better than screenshots!)

Hope that helps all the folks out there who want to verify their certificates in Dynatrace!  
[synthettic-monitor-http-ssl-checkjson.zip](https://community.dynatrace.com/uploads/short-url/oT1G8ENGQAWW10OXsnVUK33YbQn.zip) (1.63 KB)

---

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [November 12, 2020, 9:08pm UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/49 "2020-11-12T21:08:37Z")

</div>

**Plugin-less SSL Check for public sites with Dynatrace Synthetic!**

I’ve been digging a bit more for a solution that does not require any custom agent or active gate plugins and would reuse what is already existing with the standard synthetic monitors.

I found a feasible workaround solution that at least works for public sites, which might be handy for people:

It works like this:

- Use a basic HTTP synthetic monitor
- in combination with a public SSL-Check site that provides an API: [https://ssltools.godaddy.com/views/certChecker](https://ssltools.godaddy.com/views/certChecker)
- Create a HTTP Post request in the monitor that POSTs to that API with the URL that you want to check.
- Use a Post-Execution script to validate the response/evaluate the expiry information and eventually fail the synthetic monitor via it’s api calls ([see here](https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/http-monitors/pre-and-post-scripting-for-http-monitors/))

I’m attaching the Synthetic monitor definition so you can post that via the config-api to create such a monitor: [synthettic-monitor-http-ssl-check.json.zip](https://answers.dynatrace.com/storage/attachments/27307-synthettic-monitor-http-ssl-checkjson.zip)  
(API first - better than screenshots!)

Hope that helps all the folks out there who want to verify their certificates in Dynatrace!

---

<div class="post-metadata">

**Author:** ![yeshokiran\_nrus](https://avatars.discourse-cdn.com/v4/letter/y/90db22/32.png) [@yeshokiran\_nrus](https://community.dynatrace.com/u/yeshokiran_nrus)\
**Post date:** [February 22, 2021, 12:26pm UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/50 "2021-02-22T12:26:49Z")

</div>

[@Július L.](https://answers.dynatrace.com/users/16467/view.html) Thank you for sharing the plugin. I’ve used 1.02 version of plugin.

I followed two steps

1. to add/upload extension -successful

2. to copy/extract the plugin to the following location

[SERVER custom.python.sslcertcheck\_plugin]$ pwd

/opt/dynatrace/oneagent/plugin\_deployment/custom.python.sslcertcheck\_plugin

[SERVER custom.python.sslcertcheck\_plugin]$ ll

total 40

drwxrwxr-x 2 root root 4096 Dec 18 17:09 asn1crypto

drwxrwxr-x 2 root root 4096 Dec 18 17:09 asn1crypto-1.4.0.dist-info

-rwxrwxr-x 1 root root 2473 Nov 12 08:56 plugin.json

drwxrwxr-x 3 root root 4096 Dec 18 17:09 pytz

drwxrwxr-x 2 root root 4096 Dec 18 17:09 pytz-2020.4.dist-info

-rw-rw-r-- 1 root root 3336 Nov 12 09:54 README.md

drwxrwxr-x 2 root root 4096 Dec 18 17:09 sslcertcheck\_plugin-1.2.dist-info

-rw-rw-r-- 1 root root 11272 Dec 18 17:09 sslcertcheck\_plugin.py

Then I’ve changed the Global Configuration and it showed me the hosts are being correctly monitored initially then shows the following error, I guess its the error due to certificate expiry date falling in the notification/error range but I couldn’t get any notification and details. I couldn’t find the plugin log file to get any further details. Could you suggest please?

 ![28345-1613996694310.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/0/b03122d3c02d5e8bbee49e2b594c84101f19cdc6.png)

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [February 22, 2021, 8:25pm UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/51 "2021-02-22T20:25:22Z")

</div>

Can you please share the log file and open a github issue?

---

<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:04am UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/52 "2021-03-31T02:04:48Z")

</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:** ![ct\_27](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ct_27/32/10499_2.png) [@ct\_27](https://community.dynatrace.com/u/ct_27)\
**Post date:** [April 8, 2021, 4:25pm UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/53 "2021-04-08T16:25:59Z")

</div>

This native addition is great to see but is there any way we could work with DT to enhance it a bit more.&nbsp; For example instead of just saying XXX days until expiration it would be great to see what the certificates actual expiration date and time are, i have a few use cases explaining why this would avoid confusion and could share in a conversation.&nbsp; Another issue is this type of Synthetic has a 60 minute max limit but we only want to do cert checks every 12 or 24 hours.

---

<div class="post-metadata">

**Author:** ![ct\_27](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ct_27/32/10499_2.png) [@ct\_27](https://community.dynatrace.com/u/ct_27)\
**Post date:** [April 8, 2021, 4:31pm UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/54 "2021-04-08T16:31:59Z")

</div>

We’ve recently installed the ActiveGate version but having major stability issues.&nbsp; It runs for a while without issue for checks where I enter a list of URLs in the UI’s host box but we’re having a problem getting the host.txt file to get picked up when creating an instance where UI’s host box is empty.&nbsp; Also, whenever we restart the service all the checks break and can’t be updated.&nbsp; Sometimes a server bounce fixes it but at the moment not even that is fixing it.&nbsp; We had log statements as well up until the service restart, logs are no longer be written to.&nbsp; Any thoughts?

---

<div class="post-metadata">

**Author:** ![McVitas](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@McVitas](https://community.dynatrace.com/u/McVitas)\
**Post date:** [June 19, 2023, 4:47pm UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/55 "2023-06-19T16:47:55Z")

</div>

Hello Juius, we have installed your plugin&nbsp;SSL certificate check (version 1.02) but can’t see where it shows the results. In which menu should it be visible? I would assume Technologies and processes, but can’t see it there.

---

<div class="post-metadata">

**Author:** ![McVitas](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@McVitas](https://community.dynatrace.com/u/McVitas)\
**Post date:** [June 20, 2023, 9:41am UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/56 "2023-06-20T09:41:04Z")

</div>

Hello, seems like something needs to be updated in your plugin. When I tried now I got an error

Error(cannot import name ‘\_openssl’ from ‘cryptography.hazmat.bindings.\_rust’ (unknown location))

---

<div class="post-metadata">

**Author:** ![McVitas](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@McVitas](https://community.dynatrace.com/u/McVitas)\
**Post date:** [June 20, 2023, 10:21am UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/57 "2023-06-20T10:21:42Z")

</div>

during configuration it says it requires ActiveGate 1.235 for private locations, but how do I set this to work from ActiveGate? Seems like it works only from some cities around the world and it’s not possible to check internal site which is not publicly accessible.

---

<div class="post-metadata">

**Author:** ![NicoleMT](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@NicoleMT](https://community.dynatrace.com/u/NicoleMT)\
**Post date:** [July 1, 2025, 3:46pm UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/58 "2025-07-01T15:46:50Z")

</div>

```auto
Hi, one question: Does this extension work for Activegate in the latest version 1.315.25?

```

---

<div class="post-metadata">

**Author:** ![NicoleMT](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@NicoleMT](https://community.dynatrace.com/u/NicoleMT)\
**Post date:** [July 1, 2025, 3:48pm UTC](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357/59 "2025-07-01T15:48:06Z")

</div>

Hi, one question: Does this extension work for Activegate in the latest version 1.315.25?

[Previous page](https://community.dynatrace.com/t/does-dynatrace-monitor-ssl-certificate-validation/21357.md?page=2)
