I'm trying to use the dropox java sdk. Trying to run a simple test. But I get the following error when running this code
DbxEntry.WithChildren listing = clientV1.getMetadataWithChildren("/");
com.dropbox.core.DbxException$NetworkIO: 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
This is strange, because httpurlconnection works fine going to https://www.dropbox.com so the dropbox client cert is in my keystore. Is there another certificate that I need to import into my keystore that's missing?
Thanks
Al