I am trying to implement a download manager in java for rapidshare, I am using the rapidshare API.
The problem is that for example if you go to the following link
it redirects to a https page, but then when I read the content it always return me null in the InputStream
When I try to put a https link in the HttpURLConnection it always throws an exeption
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors