Connectivity to ldap works when tested with centreon plugin, but not for ldap import
./centreon_protocol_ldap.pl --plugin=apps::protocols::ldap::plugin --mode=login --hostname=10.1.6.24 --ldap-connect-options='scheme=ldaps' --username='cn=ldapbind,ou=users,dc=xxx=local' --password='xxxxxxx'
OK: Response time 0.072 second(s) | 'time'=0.072s;;;;
>08/08/2022 11:16] LDAP Connect : trying url : ldaps://10.1.6.24:636/
>08/08/2022 11:16] LDAP Connect : Credentials : cn=ldapbind,ou=users,dc=xxx=local
>08/08/2022 11:16] LDAP Error : Can't contact LDAP server
>08/08/2022 11:16] LDAP Connect : Bind : Can't contact LDAP server
>08/08/2022 11:16] LDAP Connect : connection error