LDAP authentication failed

Hi, I have. problem with adding certificate for LDAP to truststore

Certificate is saved in /opt/jboss/keycloak/standalone/configuration/ldap.cer
with format
-----BEGIN CERTIFICATE-----
XXXXX
-----END CERTIFICATE-----

import command

$ keytool -import -alias HOSTDOMAIN -keystore truststore.jks -file ldap.cer

After import restarting Keycloak
/opt/jboss/keycloak/bin
./jboss-cli.sh --connect command=:reload

The problem still persists Do you know where the error is?