final PKIMessage con = genCertConfirm(userDN, cacert, nonce, transid, hash, reqId);
assertNotNull(con);
PKIMessage confirm = protectPKIMessage(con, false, PBEPASSWORD, 567);
final ByteArrayOutputStream bao = new ByteArrayOutputStream();
final DEROutputStream out = new DEROutputStream(bao);
out.writeObject(confirm);
final byte[] ba = bao.toByteArray();
// Send request and receive response
final byte[] resp = sendCmpHttp(ba, 200);
checkCmpResponseGeneral(resp, issuerDN, userDN, cacert, nonce, transid, false, null);
checkCmpPKIConfirmMessage(userDN, cacert, resp);