String newdn = dn;
String newdn = null;
    public static String insertCNPostfix(String dn, String cnpostfix){      String newdn = dn;            String cn = CertTools.getPartFromDN(dn,"cn");      if(cn != null){      	String newcn = cn + cnpostfix;      	newdn = dn.replaceFirst(cn,newcn);      }            return newdn;    }