sensu-plugins / sensu-plugins-http

This plugin provides native HTTP instrumentation for monitoring and metrics collection, including: response code, JSON response, HTTP last modified, SSL expiry, and metrics via `curl`.
http://sensu-plugins.io
MIT License
30 stars 97 forks source link

CheckHttp CRITICAL: Request error: SSL_connect returned=1 errno=0 state=error: certificate verify failed #190

Open hillaryfraley opened 2 years ago

hillaryfraley commented 2 years ago

Our checks using check-http.rb for docs.sensu.io and slack.sensu.io alerted with these errors:

docs.sensu.io/check-http-no-auth : CheckHttp CRITICAL: Request error: SSL_connect returned=1 errno=0 state=error: certificate verify failed

and

slack.sensu.io/check-http-no-auth : CheckHttp CRITICAL: Request error: SSL_connect returned=1 errno=0 state=error: certificate verify failed

Although check-http.rb seems to be failing to verify the certs, we can confirm the certs for docs.sensu.io and slack.sensu.io are valid in the browser.