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
- 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)
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
(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 (1.63 KB)