The Oracle JRE can automatically download the intermediate certificate:
Support for the Authority Information Access (AIA) Extension
Support for the caIssuers access method of the Authority Information Access extension is available. It is disabled by default for compatibility and can be enabled by setting the system property
com.sun.security.enableAIAcaIssuers
to the valuetrue
.If set to true, Sun's PKIX implementation of
CertPathBuilder
uses the information in a certificate's AIA extension (in addition toCertStores
that are specified) to find the issuing CA certificate, provided it is a URI of type ldap, http, or ftp.Note: Depending on your network and firewall setup, it may be necessary to also configure your networking proxy servers as described in the [networking documentation(http://docs.oracle.com/javase/8/docs/technotes/guides/net/properties.html)networking documentation.
(Source: Oracle, "Java PKI Programmer's Guide".)