A customer hits these problems due to their intermediates and mixed certificate environment.
$ sudo -u nagios /usr/local/lib/nagios/plugins/check_ssl_cert -H barbican.api.customer-xyz.com -p 9312 -u /v1 -c 14 -w 30 --ignore-sct --ignore-ocsp SSL_CERT CRITICAL barbican.api.customer-xyz.com Cannot verify certificate: unable to get local issuer certificate|days_chain_elem1=79;30;14;; days_chain_elem2=2749;30;14;;
A customer hits these problems due to their intermediates and mixed certificate environment.
$ sudo -u nagios /usr/local/ lib/nagios/ plugins/ check_ssl_ cert -H barbican. api.customer- xyz.com -p 9312 -u /v1 -c 14 -w 30 --ignore-sct --ignore-ocsp api.customer- xyz.com Cannot verify certificate: unable to get local issuer certificate| days_chain_ elem1=79; 30;14;; days_chain_ elem2=2749; 30;14;;
SSL_CERT CRITICAL barbican.