check_ssl_cert plugin

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
cdm
Posts: 7
Joined: Thu Mar 21, 2019 4:04 pm

check_ssl_cert plugin

Post by cdm »

So I'm really trying to figure this out;

On the command line, I'm doing a "check_ssl_cert -H <fqdn>" , and if I don't provide it the -s (for self signed certificate), I get a "cannot verify certificate". I know it's a self signed cert. So I provide the command with the "-s" and I get the answer that it's ok and it's a self signed cert. But when I provision it as a plugin with with the -s as an argument, I don't get that it's a self cert, and I'm wonder why. I'm getting "ssl cert ok" So i'm getting inconsistent response. Anyone know why ?

Thanks,
Chris
Locked