We have our own certificate for the JVM and setting the path to the trust store and password in the JAVA_OPTS make it visible within the SBT Shell.
But running the reStart the link to those is lost and the JVM fail to validate the certificates, we can work around that by adding the path in the javaOptions of the reStart but it would be better to leverage the JAVA_OPTS directly (or pass the same JVM arguments from the sbt shell to the reStart with extra define in reStart / javaOptions)