In Java, when making an HTTPS connection, people generally encounter the following exception stack trace:

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 happens because the appropriate CA certificates are not present in the trust store.

In cases of a HTTP Proxy that utilizes SSL, it becomes even more frustrating to debug such exception.

Using this program, one can quickly find what CA certificates are needed in the trust store to complete the connection.

Note:

It only supports non-authenticated HTTP Proxy.

This program can be distributed and modified freely as long as the comments are maintained.

Requires Java 6 to run.

Read the ReadMe-TrustedPathDebugger.txt for instructions on how to run the program.

Project Activity

See All Activity >

Follow Trusted Path Debugger

Trusted Path Debugger Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Trusted Path Debugger!

Additional Project Details

Intended Audience

Developers

Programming Language

Java

Registered

2013-01-15