Import the obtained certificate into the JVM of the build server to which it is pointed.
You can import the certificate to the JVM of the build server by using the keytool import command.
Please find below for example:
sudo keytool -importcert -keystore $JDK_HOME/jre/lib/security/cacerts -file root.crt -alias "myartifactory"Once the certificate is successfully imported, please verify the same using keytool list command. You may refer to the below command, please make sure to pass a valid alias name.
sudo keytool -list -v -alias myartifactory -keystore $JDK_HOME/jre/lib/security/cacertsPlease ensure that you restart the build server after importing the certificate.