accessing keystore without password
843811Dec 3 2002 — edited Dec 3 2002I've written a little program, that retrieves a ssl-secured website from my local webserver.
To avoid the "untrusted certificate" exception I added the following line:
'System.setProperty("javax.net.ssl.trustStore", "./Source/cacerts.jks");'
That works fine, but I'm wondering that Java knows the password - or is it not needed?
When I add the line 'System.setProperty("javax.net.ssl.trustStorePassword", "<right_password>");'it works too, but giving the wrong password leads to the exception 'No X509TrustManager implementation available'.
Does anybody knows the mechanism behind that?
Max