Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22059

SSL Plugin: Connection reset by peer

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • 6.0.12
    • Agent2 plugin (N)
    • None
    • Ubuntu 22

      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

            zabbix.dev Zabbix Development Team
            igorbach Igor Gorbach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: