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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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