I have the following configuration -
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
It just connects and never checks that the domain has wrong certificate. Why is monit not checking the certificate?