respBytes = ocspresp.getEncoded();
}
// See if the Appender has reported any problems
if (!canlog) {
m_log.info("SaferDailyRollingFileAppender reported error, cannot answer request");
ocspresp = res.generate(OCSPRespGenerator.INTERNAL_ERROR, null); // RFC 2560: responseBytes are not set on error.
respBytes = ocspresp.getEncoded();
}
}
response.setContentType("application/ocsp-response");
//response.setHeader("Content-transfer-encoding", "binary");