Ldapsearch centos package5/28/2023 ![]() Ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1) TLS: can't connect: TLS error -8179:Peer's Certificate issuer is not recognized. TLS: error: connect - force handshake failure: errno 22 - moznss error -8179 TLS: certificate is not valid - error -8179:Peer's Certificate issuer is not recognized. TLS: using moznss security dir /etc/openldap/certs prefix. TLS: certdb config: configDir='/etc/openldap/certs' tokenDescription='ldap(0)' certPrefix='' keyPrefix='' flags=readOnly When i try to connect with ldaps : ldapsearch -x -H 'ldaps://' -D 'userx' -W sAMAccountName=userx -b "dc=intranet,dc=mydom,dc=com" 'uid=user' -d1 # This file should be world readable but not world writable. I exported the CA root certificate of my ad server in base64 and added it into the ldap cert directory (a.cer) I am using a Centos 6.6 and i'm trying to use ldapsearch to connect to my windows ad server and i can't connect using port 636.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |