hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Thielen <da...@windward.net>
Subject https digest request failing with security exception
Date Fri, 31 Mar 2017 17:21:03 GMT
I have some simple code that does what I think is a correct & basic request to read the
url https://httpbin.org/digest-auth/auth/user/passwd

Reading that url in a browser works fine. But the code throws:
Exception in thread "main" 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 at sun.security.ssl.Alerts.getSSLException

I have the code and full exception stack at http://stackoverflow.com/questions/43146218/https-digest-request-failing-with-security-exception
(not repeated here to keep this email short).

Any ideas?

Thanks - dave

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message