Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_ssl_cert

Current Version
1.122.0
Last Release Date
2020-08-07
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
Owner
License
GPL
Hits
174223
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks an X.509 certificate: - checks if the server is running and delivers a valid certificate - checks if the CA matches a given pattern - checks the validity
Checks an X.509 certificate:
- checks if the server is running and delivers a valid certificate
- checks if the CA matches a given pattern
- checks the validity
Reviews (8)
This script is the gold standard for Nagios core SSL checks and for how bash scripts should be written and distributed!

1.) It has options for just about every aspect of X.509 certificates
2.) It is simple to use (once you figure out you have to tell it where your local CA (Certificate Authority) is located
3.) It can check a 3rd party API at SSL Labs to grade a web sites cert. This takes a long time and the check may time-out for Nagios but that's not the fault of this script. I may batch process those checks and save the results and just do those as soft checks / and or, run them in batch mode, and leverage the fact that SSL Labs caches subsequent request which allow this check to then complete quickly.
4.) It is very well documented
5.) It is actively maintained (big deal)
6.) It just works!

Phreedom Technologies will be using it to check all of our company & client web sites as well as all publicly accessible SSL-VPN, HTTP admin portals (internal and external) including both those registered to a public CA or a self-signed.

Excellent work and thank you!
While check_http fails checking Let’s Encrypt certificates this one does a good job
Works without any issues on all of my linux boxes and without any additional software.
byGldRush98, February 12, 2018
Actually respects http hosts and pulls the correct certificate unlike the built in check_http. Great plugin for checking certs!
Hello,
Is it possible to give an URL instead of a host ?
Thanks and Regards
byavonnieda, February 9, 2017
Excellent features, easy to use, thanks for sharing!
bywytcld, June 23, 2016
Fully featured. Appreciate the option to point to an alternate (newer) openssl.
bydane-xa, October 31, 2012
5 of 5 people found this review helpful
Thanks for an excellent Nagios plugin! We use this to check certificate validity and expiration with the following command:

define command{
command_name check_ssl_cert
command_line /etc/nagios-plugins/local-bin/check_ssl_cert -H '$HOSTADDRESS$' -c 60 -r /etc/ssl/certs/ -n '$HOSTADDRESS$'
}

Works great, even with wildcard SSL certs. Thanks!

Dane