First time installing community gitlap with ldap not working

Exception: SSL_connect returned=1 errno=0 peeraddr=165.244.99.211:636 state=error: certificate verify failed (unable to get local issuer certificate)

external_url ‘https://192.168.1.157

gitlab_rails[‘ldap_enabled’] = true
gitlab_rails[‘ldap_servers’] = {
‘main’ => {
‘label’ => ‘LDAP’,
‘host’ => ‘ldaps://192.124.1.102.net:636’,
‘port’ => 636,
‘uid’ => ‘sAMAccountName’,
‘encryption’ => ‘simple_tls’,
‘base’ => ‘dc=mte, dc=com’
}
}

gitlab-rake gitlab:check

LDAP: … Server: ldapmain
Exception: getaddrinfo: Name or service not known

Checking LDAP … Finished

May I know how to overcome this issue. Any help appreciated.

Ubuntu : 20.04

We got help from LDAP Team to resolve the LDAP with SSL issue.