-
Problem report
-
Resolution: Cannot Reproduce
-
Trivial
-
None
-
6.0.12
-
None
-
Ubuntu 22
Steps to reproduce:
- Install zabbix-agent2
- Test the data collection with zabbix_agent2 -t web.certificate.get[<ssl_endpoint>]
Result:
Error
web.certificate.get[<ip_or_dns>][m|ZBX_NOTSUPPORTED] [Cannot fetch data: read tcp: read: connection reset by peer.]
At the same time - the port is open and available
nmap -sT -p 443 <ip>
Starting Nmap 7.80 ( https://nmap.org ) at 2022-12-09 12:33 CET
Host is up (0.0011s latency).
PORT STATE SERVICE
443/tcp open https
And we're able to fetch certificate data with the OpenSSL utility
openssl s_client -connect <ip>:443 2>/dev/null | openssl x509 -noout -dates
notBefore=Sep 14 00:00:00 2022 GMT
notAfter=Oct 15 23:59:59 2023 GMT
Expected:
No problems with web.certificate.get