private void editCertPath() {

		GhidraFileChooser certFileChooser = createCertFileChooser();

		File dir = null;
		File oldFile = null;
		String path = ApplicationKeyManagerFactory.getKeyStore();
		if (path != null) {
			oldFile = new File(path);
			dir = oldFile.getParentFile();
			if (!oldFile.isFile()) {
				oldFile = null;
				if (!dir.isDirectory()) {
					dir = null;
				}
			}
		}
		if (dir == null) {
			dir = new File(System.getProperty("user.home"));
		}

		if (oldFile != null) {
			certFileChooser.setSelectedFile(oldFile);
		}
		else {
			certFileChooser.setCurrentDirectory(dir);
		}

		boolean validInput = false;
		while (!validInput) {
			// display the file chooser and handle the action, Select or Create
			File file = certFileChooser.getSelectedFile();
			if (file == null) {
				return; // cancelled
			}
			ApplicationKeyManagerFactory.setKeyStore(file.getAbsolutePath(), true);
			clearCertPathAction.setEnabled(true);
			validInput = true;
		}

		certFileChooser.dispose();
	}
Pop up the edit plugin path dialog.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/EditActionManager.java