v10.4 WebP image support, improved filtering and heavy-traffic capture See what's new

Intercept HTTPS Traffic from JAVA applications

Learn how to intercept HTTPS traffic from JAVA applications

In order to decode SSL connections from JAVA applications you need to Install HTTP Debugger CA root certificate to the JAVA cacerts store (cacerts store is where JAVA stores public certificates of root CAs).

JAVA cacerts store is usually located in the jre\lib\security\cacerts file in your JDK installation.

The HTTP Debugger CA certificate is located in C:\ProgramData\HTTPDebuggerPro\Cert\SSL folder.

Go to the jre\lib\security security folder of your JDK installation (JAVA_HOME ---> JRE --> lib ---> security) and run the following command from the command line.

keytool.exe -keystore cacerts -trustcacerts -importcert -alias httpdebugger -storepass changeit -file "C:\ProgramData\HTTPDebuggerPro\Cert\SSL\HTTP DEBUGGER CA for DEBUG ONLY 2.cer"

Parameters definition:

  • keytool.exe - is part of JRE and can be found in bin folder of JRE
  • httpdebugger - specifies an alias for the certificate.
  • changeit - the default password for JAVA cacerts store.

Restart your JAVA application. You will now see HTTPS / SSL traffic from your JAVA application.

HTTP Debugger Pro

Version 10.4 · Windows 10, Windows 11

A proxy-less HTTP/HTTPS sniffer for Windows that captures traffic system-wide from any process.

Download free 7-day trial

No registration required · Trusted since 2007