Hello all,
JupyterHub does not trust my LDAP certificate, I have a LDAP cert file from system admin and was advised to use it to communicate to LDAP server, the cert is not trusted and JupyterHub throws out error:
Can't contact LDAP server
Configuration as below:
tried three different server_address options, same error.
c.JupyterHub.authenticator_class = 'ldapauthenticator.LDAPAuthenticator'
#c.LDAPAuthenticator.server_address = 'xxx.xxx.xxx.xxx'
#c.LDAPAuthenticator.server_address = 'nydc-dc01.company.pri'
c.LDAPAuthenticator.server_address = 'ldaps://nydc-dc01.company.pri'
c.LDAPAuthenticator.use_ssl = True
c.LDAPAuthenticator.server_port = 636
c.LDAPAuthenticator.bind_dn_template = []
c.LDAPAuthenticator.user_search_base = 'OU=CompanyOU Users,DC=CompanyDC,DC=pri'
c.LDAPAuthenticator.user_attribute = 'sAMAccountName'
c.LDAPAuthenticator.lookup_dn = True
c.LDAPAuthenticator.lookup_dn_search_user = 'CN=ldapbind2,OU=Company Users (System),DC=CompanyDC,DC=pri'
c.LDAPAuthenticator.lookup_dn_search_password = 'xxxxxxxxxxxxxxxxx'
c.LDAPAuthenticator.allowed_groups = ['CN=wfgo-0081,OU=company Groups,DC=company,DC=pri']
It would be greatly appreciated if anyone can share any light here.
------------------------------------------------
Sincerely yours,
Raymond