Active Directory Server Configuration
To authenticate the username and the password through Active Directory Follow the bellow steps
Add an Active Directory SSL certificate
Configure AD server details through the KnowHOW user interface, detailed documents can be found Here
Upload AD host SSL certificate on the KnowHOW server at "/tmp/<certificateName>.cer", replace <certificateName> with your name of the uploaded certificate using the following commands
Copy the certificate to the customAPI container using the below command
sudo docker cp /tmp/<certificateName>.cer customapi:/app/certs
Ā
Run the below command to add the SSL certificate to Java keystore
sudo docker exec -t customapi /bin/sh -c "keytool -noprompt -importcert -alias <AD-DNS> -keystore /usr/local/openjdk-8/lib/security/cacerts -storepass changeit -file certs/<certificateName>.cer"
Ā
Run the below command to restart the customAPI containerĀ
sudo docker restart customapi
Ā© 2022 Publicis Sapient. All rights reserved.