posted 17 years ago
I should add that I've now searched the forums, and have tried specifying the following parameters in my client, all without any change:
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
System.setProperty("java.protocol.handler.pkgs","blah");
System.setProperty("javax.net.ssl.keyStore", "blah");
System.setProperty("javax.net.ssl.keyStorePassword", "blah");
System.setProperty("javax.net.ssl.trustStore", "blah");
System.setProperty("javax.net.ssl.trustStorePassword", "blah");
However I am still getting the following:
main, SEND TLSv1 ALERT: fatal, description = certificate_unknown
main, WRITE: TLSv1 Alert, length = 2
main, called closeSocket()
main, handling exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target