If you wonder after a recent update why you get messages like "Unable to reach org.opencastproject.assetmanager@
https://you-testing-instance", this is because Opencast now (commit 4225bf90af7455 ) checks certificate and hostname validity.
Since running a testing instance with HTTPS proxies not always allows for certificates issued by someone, here is how to add a custom cert to Java's Trust Store.
cat >/tmp/testing.crt <<EOL
-----BEGIN CERTIFICATE-----
MIIGJzCCBA+gAw...
...O6g==
-----END CERTIFICATE-----
EOL
keytool -import -noprompt -trustcacerts -alias testing_root -file /tmp/testing.crt -storepass changeit -keystore $JAVA_HOME/jre/lib/security/cacerts
rm /tmp/testing.crt
Working HTTPS is probably preferred, if you can afford that.
-- Felix