When customizing the certificate for the CodeScene CLI tool user can get the following error:
License check failed (https://codescene_host_url/api/v2/cli/authorize): error - javax.net.ssl.SSLHandshakeException:
You should create and pass a custom truststore when running the tool. It is not necessary to add the truststore to the JVM in any way, only pass it to the CLI tool. Be aware that since the truststore has a password it needs to be specified as a parameter to CodeScene. If it’s not, it still can list the certificates but it’s unable to use them.
The command line must be:
cs "-Djavax.net.ssl.trustStore=/Users/.../truststore.jks" "-Djavax.net.ssl.trustStorePassword=storepassword" delta