I never tried to download certificates through the keystore, but supplied them using the system properties.
System.setProperty("javax.net.ssl.keyStoreType", "Windows-MY"); System.setProperty("javax.net.ssl.keyStore", "NONE"); System.setProperty("javax.net.ssl.trustStoreType", "Windows-ROOT"); System.setProperty("javax.net.ssl.trustStore", "NONE");
See also java SSL and cert keystore and How to use Keystore (MCS) Windows with JDBC?
hotzst
source share