https ssl test
Gerrit Kühn <[email protected]> Wed, 29 May 2024 17:09:00 +0200
| Newsgroups | gmane.comp.monitoring.monit.general |
|---|---|
| Organization | MPG |
| Message-ID | <[email protected]> |
Hello,
I somehow fail to understand how https tests are supposed to work.
This works fine for me:
---
check host self with address localhost
if failed port 443 protocol https and certificate valid > 30 days then
alert
---
However, this doesn't:
---
check host self with address localhost
if failed port 443 protocol https and certificate valid > 30 days with
ssl options {verify: enable} then alert
---
All I get is
---
failed protocol test [HTTP] at [localhost]:443 [TCP/IP TLS] -- Connection
refused
---
From the documentation I got the impression that one should enable
verification. And why does this cause a "connection refused"?
Any hints are -as always- greatly appreciated.
cu
Gerrit
smime.p7s
(application/pkcs7-signature, 6.9 KB) - not displayed