sensu-plugins-http icon indicating copy to clipboard operation
sensu-plugins-http copied to clipboard

check-https-cert.rb does not expose "verify_depth" for validating full certificate chain

Open brubin86 opened this issue 4 years ago • 0 comments

See similar PR for sensu-plugins-ssl: https://github.com/sensu-plugins/sensu-plugins-ssl/pull/66

A flag to set "verify_depth" on the http instance would allow users to indicate they prefer checking parts of the certificate chain above just the leaf certificate:

https://github.com/sensu-plugins/sensu-plugins-http/blob/master/bin/check-https-cert.rb#L89

brubin86 avatar Aug 30 '21 19:08 brubin86