diff -urN zabbix-7.0.22.orig/src/go/vendor/golang.zabbix.com/sdk/tlsconfig/tlsconfig.go zabbix-7.0.22/src/go/vendor/golang.zabbix.com/sdk/tlsconfig/tlsconfig.go --- zabbix-7.0.22.orig/src/go/vendor/golang.zabbix.com/sdk/tlsconfig/tlsconfig.go 2025-12-17 04:11:46.216734002 +0900 +++ zabbix-7.0.22/src/go/vendor/golang.zabbix.com/sdk/tlsconfig/tlsconfig.go 2026-02-08 19:18:19.324402433 +0900 @@ -94,12 +94,13 @@ clientCerts := make([]tls.Certificate, 0, 1) - certs, err := tls.LoadX509KeyPair(details.TLSCertFile, details.TLSKeyFile) - if err != nil { - return nil, errs.Wrap(err, "failed to load key pair") - } - - clientCerts = append(clientCerts, certs) + if details.TLSCertFile != "" && details.TLSKeyFile != "" { + certs, err := tls.LoadX509KeyPair(details.TLSCertFile, details.TLSKeyFile) + if err != nil { + return nil, errs.Wrap(err, "failed to load key pair") + } + clientCerts = append(clientCerts, certs) + } if skipVerify { //nolint:gosec