[nagios-plugins] Check ssl fingerprint (#9)

L. Alberto Giménez <reply+i-5058053-ff92be3f2739c550786ed49c7cfe39147be5cc2d-1651316-EymDizFzQUca5t4wFMVjgA@public.gmane.org>
Newsgroups gmane.network.nagios.plugins.devel
Message-ID <nagios-plugins/nagios-plugins/pull/[email protected]>
Add support to check_http for checking fingerprint mismatch. Useful to be sure that after reinstalling a certificate (renewal), you ensure that you are monitoring the right certificate and didn't reinstall an old one by mystake.



You can merge this Pull Request by running:

  git pull https://github.com/agimenez/nagios-plugins check-ssl-fingerprint

Or you can view, comment on it, or merge it online at:

  https://github.com/nagios-plugins/nagios-plugins/pull/9

-- Commit Summary --

* Refactor out the certificate expiration code
* Make check_cert_fingerprint work
* Merge status from ssl cert subchecks
* Fix freeing invalid pointer.
* Fix check output format
* Write tests for certificate fingerprint validation

-- File Changes --

M plugins/check_http.c (21)
M plugins/check_smtp.c (2)
M plugins/check_tcp.c (2)
M plugins/netutils.h (2)
M plugins/sslutils.c (250)
M plugins/tests/check_http.t (37)
M plugins/utils.c (25)
M plugins/utils.h (2)

-- Patch Links --

  https://github.com/nagios-plugins/nagios-plugins/pull/9.patch
  https://github.com/nagios-plugins/nagios-plugins/pull/9.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/nagios-plugins/nagios-plugins/pull/9

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.