When installing OpenJDK, the postinstall step responsible for populating /etc/ssl/certs/java/cacerts fails, leading to error messages like the one described in WikiWatershed/model-my-watershed#2167:
Unable to execute HTTP request: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
The solution, from the ca-certificates-java bug, is to run /var/lib/dpkg/info/ca-certificates-java.postinst after installing the JDK.
When installing OpenJDK, the postinstall step responsible for populating
/etc/ssl/certs/java/cacerts
fails, leading to error messages like the one described in WikiWatershed/model-my-watershed#2167:The solution, from the
ca-certificates-java
bug, is to run/var/lib/dpkg/info/ca-certificates-java.postinst
after installing the JDK.