diff --git a/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/85TLS b/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/85TLS index 015557f..0ef3b84 100644 --- a/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/85TLS +++ b/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/85TLS @@ -25,8 +25,8 @@ _EOF $OUT .= "TLSServerCertIssuer=$issuer\n" if ($issuer ne ''); $OUT .= "TLSServerCertSubject=$subject\n" if ($subject ne ''); } - my $encryptions = (scalar @encryptions > 0) ? join(',', @encryptions) : 'unencrypted'; - $OUT .=<<_EOF; + my $encryptions = (scalar @encryptions > 0) ? join(',', @encryptions) : ''; + $OUT .=<<_EOF if ($encryptions ne ''); TLSConnect=$encryptions TLSAccept=$encryptions _EOF