Based on the different `truststoreConfigType`, we have following different `trustStoreConfig`.
1.**TrustAll**: Provides an SSL trust manager which will blindly trust any certificate that is presented to it, although it may optionally reject certificates that are expired or not yet valid. It can be convenient for testing purposes, but it is recommended that production environments use trust managers that perform stronger validation.
-`verifyHostname`: Controls using TrustAllSSLSocketVerifier vs HostNameSSLSocketVerifier. In case the certificate contains cn=hostname of the Ldap Server set it to true.
3.**HostName**: Provides an SSL trust manager that will only accept certificates whose hostname matches an expected value.
-`allowWildCards`: Indicates whether to allow wildcard certificates which contain an asterisk as the first component of a CN subject attribute or dNSName subjectAltName extension.
-`acceptableHostNames`: The set of hostnames and/or IP addresses that will be considered acceptable. Only certificates with a CN or subjectAltName value that exactly matches one of these names (ignoring differences in capitalization) will be considered acceptable. It must not be null or empty.
4.**CustomTrustStore**: Use the custom Truststore by providing the below details in the config.
-`trustStoreFilePath`: The path to the trust store file to use. It must not be null.
-`trustStoreFilePassword`: The PIN to use to access the contents of the trust store. It may be null if no PIN is required.
-`trustStoreFileFormat`: The format to use for the trust store. (Example :- JKS, PKCS12).
-`verifyHostname`: Controls using TrustAllSSLSocketVerifier vs HostNameSSLSocketVerifier. In case the certificate contains cn=hostname of the Ldap Server set it to true.
-`examineValidityDates`: Indicates whether to reject certificates if the current time is outside the validity window for the certificate.
-`adminPrincipals`: This is the list of admin Principal for the OpenMetadata , if mail in ldap is example@openmetadata.org, then if we want this user to be admin in the OM, we should add 'example', in this list.
-`principalDomain`: Company Domain.
## Metadata Ingestion
For ingesting metadata when LDAP is enabled, it is mandatory to configure the `ingestion-bot` account with the JWT configuration.
To know how to enable it, you can follow the documentation of [Enable JWT Tokens](/deployment/security/enable-jwt-tokens).