Ssl 如何在monit中使用有效的HTTPS证书检查URL?

Ssl 如何在monit中使用有效的HTTPS证书检查URL?,ssl,ssl-certificate,monit,Ssl,Ssl Certificate,Monit,我有以下的配置- check host qbox_logstash_1 with address blah.mysite.com group qbox if failed host blah.mysite.com port 443 type TCPSSL protocol https http headers [ Authorization: Basic dXJiYW5sYWiYW5sBlaHToHideThisAuthMjM= ] the

我有以下的配置-

check host qbox_logstash_1
  with address blah.mysite.com
  group qbox
  if failed
    host blah.mysite.com
    port 443
    type TCPSSL
    protocol https
    http headers [ Authorization: Basic dXJiYW5sYWiYW5sBlaHToHideThisAuthMjM= ]
  then alert

它只是连接,从不检查域是否有错误的证书。为什么monit不检查证书?

您需要包括
证书有效
指令:

if failed
  ...
  certificate valid > 10 days
then alert

请参阅此处的文档:

可能是3。本资料中的要点可能对您有所帮助