Some of my stupid thoughts
The JRE (Java Runtime Environment) uses the file cacerts as trust base for the HTTPS connections to a server. You can substitute this trust base by the Mozilla CA, used e.g. in Firefox.