I have a requirement to have Ansible work with LDAPS.
I have gone into the GUI and put in the correct address for LDAPS. Did not work.
I found a technical support article at RedHat that provided more to do with changing an LDAP.conf file and putting the LDAP server PEM key, did not work.
Did the same to an Ansible TOWER server that I had spun up with an EVAL license, it worked with the same steps as above.
i got it to work after installation. 2 things need to happen
ca cert files need to be dropped into /etc/pki/ca-trust/source/anchors and then run “update-ca-trust extract” from within awx_web. To do this automatically, you might need to run docker-compose up -d again so that the containers are recreated. Make sure you drop the ca files into the directory on the Server where you specified the ca_files_dir during initial install.
if the containers are running centos8 you ll might need to downgrade openssl security level incase the remote ldaps endpoint isnt hardened.
do a find under /etc for openssl.config and opensslcnf.config and change seclevel=2 to seclevel=1.
i edited the docker-compose and downloaded the 2 openssl files > edited them > and added them as a volume to the awx_web container. Run the docker-compose up -d after all the changes and it should work.
ALL my tower configuration is listed as code. And can be ‘reapplied’ at any time. In fact what I do is to use yaml datastructures and playbooks to drive the tower configuration.
Not sure if my previous reply posted properly so doing it again.
The scenario i mentioned was post installation. Not sure if a reinstall would have preserved data and configs on the existing awx instance. so far my upgrades arent preserving data.