The issue is the certificate isn't in the Java cacerts file. The issue is explained in the My Oracle Support document "How to deal with certificates from non-trusted certificate authorities (Doc ID 1604086.1)," the java code-signing tutorial, or a blog post self-signed for a known community.