Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To authenticate the username and the password through Active Directory Follow the bellow steps

Add an Active Directory SSL certificate

  1. Configure AD server details through the KnowHOW user interface, detailed documents can be found Here

  2. 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

  3. Copy the certificate to the customAPI container using the below command

    Code Block
    sudo docker cp /tmp/<certificateName>.cer customapi:/app/certs

  4. Run the below command to add the SSL certificate to Java keystore

    Code Block
    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"

  5. Run the below command to restart the customAPI container 

    Code Block
    sudo docker restart customapi