[ZBX-22059] SSL Plugin: Connection reset by peer Created: 2022 Dec 09  Updated: 2023 Dec 18  Resolved: 2023 Dec 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent2 plugin (G)
Affects Version/s: 6.0.12
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Igor Gorbach (Inactive) Assignee: Zabbix Development Team
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 22



 Description   

Steps to reproduce:

  1. Install zabbix-agent2
  2. 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


Generated at Fri May 16 07:41:48 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.