Class CertificateManagerLauncher
java.lang.Object
ghidra.framework.main.certs.CertificateManagerLauncher
Launches (or refocuses) the OS-native certificate manager used to view/manage the
user's trusted CA certificates — the same tool Chrome/Edge expose via their own
"Manage certificates" button. Supported on Windows and macOS only.
Windows: displays the native CryptUIDlgCertMgr dialog via WindowsCertMgrApp,
launched as an independent Java process (that call blocks until the dialog is closed, so
it must not run inside Ghidra's own JVM). A subsequent call while that process is still
alive brings its window to the foreground instead of starting a second one.
macOS: launches Keychain Access via open -a, which itself focuses an
already-running instance instead of starting a duplicate.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidLaunch the platform certificate manager, or bring an already-launched instance to the foreground.
-
Method Details
-
launchOrFocus
public static void launchOrFocus()Launch the platform certificate manager, or bring an already-launched instance to the foreground. Safe to call repeatedly/rapidly from the Swing thread; a singlesynchronizedentry point is sufficient serialization since every operation performed here (starting a process, enumerating windows) returns quickly.
-