Security

check_https_cert

Description:

Perlscript for checking a https-servers, with a ssl-client-certificate.

Current Version

Last Release Date

June 22, 2009

Compatible With


Project Files
Project Notes
You can use *.pem files or a .p12 file with a password to connect with a https-server. This Perl-script needs: LWP::UserAgent, Crypt::SSLeay and Nagios::Plugin. It works for me, but i don't use all of it's settings.
Reviews (4) Add a Review
reconfiguring check script
by bostjan, October 31, 2014

Can anybody help with this check, because when disabling SSLv3 protocol (eliminating poodle attack) in WEB server this check does not function properly.



pwd ivalid option
by igorgrin, March 31, 2013

It looks like "-pwd" option is not working. I don't see declared anywhere in the script. I tried p12pass but it's not working as well. -pwd mypassword Value "wd" invalid for option p (number expected) Unknown option: w Unknown option: d $np->add_arg( spec => "p12pass|p12passwd=s", help => "Password for the P12-File", required => 0 );



"Enhanced" version
by Gandalf, December 31, 2012

After migrating from debian 6 to ubuntu 12.04 lts, this plugin did not work anymore. I had to change the way, the cert, key and cacert parameters were set and added the following lines after creating the useragent $ua. $ua->ssl_opts( SSL_ca_file => $cacert, SSL_cert_file => $certfile, SSL_key_file => $key, );



This plugin is working for us
by durtle, June 30, 2012

At first this plugin was not working for us because we did not have the Crypt SSLeay library installed. Suggest to add "use Crypt::SSLeay;" to use section at top of file to throw an error if library is not installed. To install the needed libraries on CentOS use "yum install perl-Crypt-SSLeay perl-Nagios-Plugin"



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
3.5 (4)
Favorites
0
Views
107,993