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 Popular

Current Version
2.79.0
Last Release Date
2024-01-01
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
Owner
License
GPL
Hits
203783
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
A POSIX shell script (that can be used as a Nagios/Icinga plugin) to check an SSL/TLS connection and certificate
A POSIX shell script (that can be used as a Nagios/Icinga plugin) to check an SSL/TLS connection and certificate
Reviews (8)
byjnash, January 30, 2021
1 of 1 people found this review helpful
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!
byjmeulen, May 17, 2018
1 of 1 people found this review helpful
While check_http fails checking Let’s Encrypt certificates this one does a good job
bypetarl, March 7, 2018
1 of 1 people found this review helpful
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
Owner's reply

It's possible. Just get the latest version from https://github.com/matteocorti/check_ssl_cert/releases

byavonnieda, February 9, 2017
Excellent features, easy to use, thanks for sharing!
bywytcld, June 23, 2016
1 of 1 people found this review helpful
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