Install a new SSL certificate to AIQ controller
Connect to the AIQ Controller server and find the folder where AppvanceIQ is installed. Find the keystore file called appvance.jks in the following path:
Keystore
/opt/aiq/aiq_distribution/TestNode/etc/appvance.jks
then depending on the certificate files you received from your certificate authority use the following commands to add your certificate files to the keystore.
Provide 'appvance' as password when requested.
Root Certificate
Install the SSL Certificate (root) file to your keystore using the following command:
$JAVA_HOME/bin ./keytool -importcert -keystore appvance.jks -alias root -file <root cer file name>
Choose Y or Yes to trust the certificate.
Intermediate certificate
Install the SSL Certificate (intermediate) file to your keystore using the following command:
$JAVA_HOME/bin ./keytool -importcert -keystore appvance.jks -alias nsdroot -file <intermediate cer file name>
Choose Y or Yes to trust the certificate.
Server certificate
Install the SSL Certificate (server) file to your keystore using the following command:
$JAVA_HOME/bin ./keytool -importcert -keystore appvance.jks -alias nsdserver -trustcacerts -file <server name crt> <mydomain.com.crt>
The Certificate reply was installed in keystore message is displayed.
Choose Y or Yes to trust the certificate.
Last updated: April 13, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai