public static void addPKIUser(File serverRoot, String userName, String dn) throws Exception {
		ServerAdmin serverAdmin = new ServerAdmin();
		if (dn != null) {
			serverAdmin.execute(new String[] { serverRoot.getAbsolutePath(), "-dn", userName, dn });
		}
		else {
			serverAdmin.execute(new String[] { serverRoot.getAbsolutePath(), "-add", userName });
		}
	}
Add PKI user to server
@param serverRoot
@param userName
@param dn
@throws Exception
Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/server/remote/ServerTestUtil.java