I have setup a single node AWX instance (Version 2.1.2) using Docker. Unfortunately the LDAP connection doesn't work through the following error message:
WARNING django_auth_ldap Caught LDAPError while authenticating USERNAME:
SERVER_DOWN({'info': 'error:14090086:SSL
routines:ssl3_get_server_certificate:certificate verify failed (self signed
certificate in certificate chain)', 'desc': "Can't contact LDAP server"},)
I already downloaded the intermediate cert and added it to the settings.py.
AUTH_LDAP_CONNECTION_OPTIONS = {
ldap.OPT_REFERRALS: 0,
ldap.OPT_X_TLS_CACERTFILE: '/etc/pki/ca-trust/source/anchors/generali-
ca.pem',
ldap.OPT_NETWORK_TIMEOUT: 30,
ldap.OPT_X_TLS_NEWCTX: 0
}
If I query the API, the changes were in place.
Any idea how to resolve this issue?