# Configuration-less Advanced SSL Certificate Check Plugin

**URL:** <https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199>\
**Category:** Dynatrace Tips\
**Tags:** data-privacy-and-product-security, knowledge-sharing, extensions, synthetic-monitoring\
**Created:** [January 12, 2021, 2:00pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199 "2021-01-12T14:00:48Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![dave\_vos](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@dave\_vos](https://community.dynatrace.com/u/dave_vos)\
**Post date:** [October 5, 2022, 1:08pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/81 "2022-10-05T13:08:33Z")

</div>

We are on RHEL 7.9.

NAME=“Red Hat Enterprise Linux Server”  
VERSION=“7.9 (Maipo)”  
ID=“rhel”  
ID\_LIKE=“fedora”  
VARIANT=“Server”  
VARIANT\_ID=“server”  
VERSION\_ID=“7.9”

---

<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:** [October 5, 2022, 4:29pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/82 "2022-10-05T16:29:27Z")

</div>

[@dave\_vos](https://community.dynatrace.com/user/2366)&nbsp;[@pieter\_luttig](https://community.dynatrace.com/user/30846)&nbsp;  
Can you please take a look at [this issue on github](https://github.com/360Performance/dynatrace-plugin-certcheck/issues/18) and post the output from your environments.  
I checked on my test environment (CentOS 7.9) with GLIBC 2.17 - all fine and no dependency to 2.25.  
Did you make sure you certainly downloaded the right plugin version, completely removed the old one and replaced it?

---

<div class="post-metadata">

**Author:** ![pieter\_luttig](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pieter_luttig/32/37241_2.png) [@pieter\_luttig](https://community.dynatrace.com/u/pieter_luttig)\
**Post date:** [October 6, 2022, 6:03am UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/83 "2022-10-06T06:03:22Z")

</div>

We are on RHEL 7.9.

NAME=“Red Hat Enterprise Linux Server”  
VERSION=“7.9 (Maipo)”

---

<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:** [October 6, 2022, 1:41pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/84 "2022-10-06T13:41:00Z")

</div>

[@pieter\_luttig](https://community.dynatrace.com/user/30846)&nbsp;[@dave\_vos](https://community.dynatrace.com/user/2366)

I specifically built on an old RHEL 7.9 now and added the binary to the [1.40 release on github](https://github.com/360Performance/dynatrace-plugin-certcheck/releases/tag/1.40). Dave already confirmed it working.  
Hope that also works for you pieter.

---

<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:** [March 9, 2023, 11:46am UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/85 "2023-03-09T11:46:18Z")

</div>

## New Version 1.50 Released

I have pushed a new version of the plugin which adds some functionality around TLS version support and reporting. It will now also work with older TLS versions (instead of not accepting TLS \< 1.2) and include information about the TLS protocol and used ciphers in problem notifications. Additionally it will create custom info events on a synthetic monitor if it detects outdated TLS versions (no weak cipher checks though).

This should give responsible people that chance to identify weak protocols and ciphers additionally to expiring certs.

 ![r_weber_0-1678362283612.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/8/7875eb8e0c6eda8d68c2c02166976797a892937f.png)

---

<div class="post-metadata">

**Author:** ![Inder](https://avatars.discourse-cdn.com/v4/letter/i/73ab20/32.png) [@Inder](https://community.dynatrace.com/u/Inder)\
**Post date:** [March 17, 2023, 4:30am UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/86 "2023-03-17T04:30:00Z")

</div>

Hello r\_weber, Much appreciate your efforts.

as you mentioned on git hub “(no plugin builds for older glibc linux platforms yet)”. Any idea when it would be out. Keen to test for rhel 7.9 with older glibc for the client.

---

<div class="post-metadata">

**Author:** ![olegus](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@olegus](https://community.dynatrace.com/u/olegus)\
**Post date:** [April 19, 2024, 2:01pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/87 "2024-04-19T14:01:12Z")

</div>

Hi, I’m new to DT extensions and feel stupid at the moment as I cant figure how to install this plugin to ActiveGate. I’m trying this page to upload it but it gives me errors-

 ![olegus_1-1713535254569.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/c9d20021db73246d5fa7f4f028178f0198e0f889.png)

Any suggestion?

---

<div class="post-metadata">

**Author:** ![olegus](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@olegus](https://community.dynatrace.com/u/olegus)\
**Post date:** [April 19, 2024, 7:37pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/88 "2024-04-19T19:37:42Z")

</div>

Ok, looks like that place (Upload your custom Extension 2) is not the right place to install this plugin.

What I did so far, following this - [Develop your own Extensions — Dynatrace Docs](https://docs.dynatrace.com/docs/extend-dynatrace/extensions/development/extension-how-tos/deploy-an-activegate-plugin)

1. copy custom.remote.python.certcheck&nbsp; folder to /opt/dynatrace/remotepluginmodule/plugin\_deployment/ on ActiveGate host

2. Upload zipped extension on this page -

 ![olegus_0-1713555178405.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/e/4ec703ea05d9328856ee7aa43364fdb586185cf4.png)

and on the next page Add ActiveGate extension

 ![olegus_1-1713555267798.png](https://global.discourse-cdn.com/dynatrace/original/2X/8/8965c67724444bf651edca164357189f644bb389.png)

I had to use Add new technology button first as Upload extension was greyed out for me.

After that I configure the plugin to get all HTTP checks with product:test tag.

Nothing happened yet as all my certificates are up to date.

How can I be sure that plugin works and certificates are indeed monitored? Can I see a list of URLs that plugin imported?

---

<div class="post-metadata">

**Author:** ![dave\_vos](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@dave\_vos](https://community.dynatrace.com/u/dave_vos)\
**Post date:** [April 22, 2024, 7:59am UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/89 "2024-04-22T07:59:09Z")

</div>

You could temporary increase “minimum certificate validaty in days” to a high number (say 365 days). That way you can test if a problem would be created if a certificate is bound to expire within 365 days.

---

<div class="post-metadata">

**Author:** ![olegus](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@olegus](https://community.dynatrace.com/u/olegus)\
**Post date:** [April 22, 2024, 1:10pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/90 "2024-04-22T13:10:31Z")

</div>

I see… But is there a way to see a list of URls that this plugin checks?

Also, does this plugin accepts tags in a form key:value ?

---

<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:** [April 22, 2024, 1:45pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/91 "2024-04-22T13:45:17Z")

</div>

The plugin determines the list of URLs from your tagged synthetic monitors itself.  
So you create a synthetic monitor, tag it accordingly e.g with “sslcheck” and then create a plugin config that works with this tag.

---

<div class="post-metadata">

**Author:** ![olegus](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@olegus](https://community.dynatrace.com/u/olegus)\
**Post date:** [April 23, 2024, 6:14pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/92 "2024-04-23T18:14:51Z")

</div>

Thanks for the reply!

we already have \>1k monitors split by different groups/products by a tag in a form of key:value

For testing purpose I configure the plugin with this tag:

 ![olegus_0-1713895926357.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/a/ba7073a8443237879769a14811f0777053a5c1b2.png)

and set expiration days to 500.. But nothing happened so I wonder how can I troubleshoot ?

How to confirm that tag filter works as expected and cert check request was sent?

---

<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:** [April 23, 2024, 6:38pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/93 "2024-04-23T18:38:19Z")

</div>

Either use just the key of the tag (not with value), or tag your monitors with another autotag rule based on your existing tags, and then check the Activegate’s plugin execution logs for any info/errors.

---

<div class="post-metadata">

**Author:** ![olegus](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@olegus](https://community.dynatrace.com/u/olegus)\
**Post date:** [April 23, 2024, 6:42pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/94 "2024-04-23T18:42:06Z")

</div>

Where can I find execution logs? On AG host?

Also about your suggestion to use simple tag - does it mean that key:value not supported?

---

<div class="post-metadata">

**Author:** ![dave\_vos](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@dave\_vos](https://community.dynatrace.com/u/dave_vos)\
**Post date:** [April 24, 2024, 9:30am UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/95 "2024-04-24T09:30:21Z")

</div>

Hi Olegus,

I made small manual in the past. I translated it to English so you use it. Hope it helps.

Dave Vos  
[Advanced SSL Certificate Check for Dynatrace- installation manual\_generic.docx](https://community.dynatrace.com/uploads/short-url/6cGsub1U6u5Wv4NfW3T8ZEFdMaa.docx) (346 KB)

---

<div class="post-metadata">

**Author:** ![olegus](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@olegus](https://community.dynatrace.com/u/olegus)\
**Post date:** [April 24, 2024, 1:10pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/96 "2024-04-24T13:10:42Z")

</div>

Thanks, Dave, nice small manual!

Couple of questions if you dont mind:

-Did you try key:value tags with this plugin?

-What’s a Monaco script? 🙂

---

<div class="post-metadata">

**Author:** ![dave\_vos](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@dave\_vos](https://community.dynatrace.com/u/dave_vos)\
**Post date:** [April 24, 2024, 1:32pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/97 "2024-04-24T13:32:16Z")

</div>

> **[What is Monaco?](https://www.dynatrace.com/knowledge-base/monaco/)**
>
> Monaco is a tool to create and update your observability and security configs in Dynatrace using code. Initially, the focus was on "monitoring as code.”

A colleague of mine made a script in Monaco which was able to create synthetic HTTP monitors in bulk using an excel sheet with column’s environment|name|url|enabled|location as input.

I did not use&nbsp;key:value tags with this plugin. **I simple used this tagging rule: HTTP monitors (Synthetic monitor)** on **HTTP monitors** where _HTTP monitor name_ contains ‘Certificate’

Note: In my opinion it is better to use specific HTTP monitors for this purpose as you can disable them using no DEM units.

---

<div class="post-metadata">

**Author:** ![olegus](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@olegus](https://community.dynatrace.com/u/olegus)\
**Post date:** [April 24, 2024, 6:34pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/98 "2024-04-24T18:34:13Z")

</div>

Almost got it.

For other people who have same questions:

- logs can be found here - /var/lib/dynatrace/remotepluginmodule/log/remoteplugin/custom.remote.python.certcheck

- key:value tags are supported

One thing that I can’t make to work is metrics. I set Certificate validity days to 500 and have my monitors failed but metrics are empty - either on Metrics tab of a plugin page or in Data Explorer. Any hint here?

---

<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:** [April 24, 2024, 7:33pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/99 "2024-04-24T19:33:28Z")

</div>

Did you check the “report metrics” in the plugin configuration to on?  
And did you make sure that the API token you configured for the plugin has the metric.ingest (v2) scope?

---

<div class="post-metadata">

**Author:** ![olegus](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@olegus](https://community.dynatrace.com/u/olegus)\
**Post date:** [April 24, 2024, 7:39pm UTC](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199/100 "2024-04-24T19:39:37Z")

</div>

Yes and Yes

 ![olegus_1-1713987524171.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/4/842a61ffc2e3472fcc08f2a5875a750454170a1b.png)

 ![olegus_0-1713987503783.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/254881ec9a5b2a74e241f5166aa98d7a3774c712.png)

Let me try it again, may be I gave it not enough time to collect metrics before closing the problem?

[Previous page](https://community.dynatrace.com/t/configuration-less-advanced-ssl-certificate-check-plugin/21199.md?page=4)
