fix(tls): tls query fix to work on centos8/redhat8
fix(tls): tls query fix to work on centos8/redhat8

REFS: MON-7398
centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker