Java VMs
Last updated
Last updated
In order to intercept HTTPS traffic from Java apps, it requires extra steps to install Proxyman CA Certificate into Java Key Store.
Intercept Traffic from Unit Test (written by Java or Kotlin)
Intercept Traffic from Java app or CLI
Before installing Proxyman CA on Java VMs, we have to install properly on your current mac machine.
Check out macOS Guideline:
macOSIf you've done this step, you can skip and start the next step.
Certificate Menu -> Install Certificate on Java VMs
The script will attempt to find the Key Store location from JAVA_HOME environment and install the CA Certificate if possible
You can find the script at /Applications/Proxyman.app/Contents/Frameworks/ProxymanCore.framework/Versions/A/Resources/install-certificates-java.sh
The script might require permission for EventKit because Proxyman triggers the script by Apple Script in order to install under admin permission.
Check out @yauheniprakapenka solution: https://github.com/ProxymanApp/Proxyman/issues/569#issuecomment-723588490 if you get the following error
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 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