Proxyman icon indicating copy to clipboard operation
Proxyman copied to clipboard

Interactive JVM Selection for "Install Certificate on Java VMs"

Open fleitman opened this issue 1 month ago • 0 comments

Description

When installing a certificate via
Certificate → Install Certificate on Java VMs → Run Script,
Proxyman automatically uses the current JAVA_HOME.
It would be more flexible if Proxyman allowed users to select which Java VM(s) to install the certificate into.

Proposed Enhancement

  1. Proxyman should execute: /usr/libexec/java_home -V
  2. Parse and display all detected JVM installations.
  3. Allow the user to:
  • Select a specific JVM
  • Select multiple JVMs
  • Or choose “Install to all JVMs”

After selection, Proxyman should install the certificate into each chosen JVM path.

Why this is important

Many developers have multiple JDKs installed (e.g., Java 8, 11, 17, 21).
Automatically picking only the current JAVA_HOME can lead to inconsistent behavior across tools and build systems.
Allowing interactive selection would make certificate installation more reliable and user‑controlled.

fleitman avatar Dec 12 '25 11:12 fleitman