summaryrefslogtreecommitdiffstats
path: root/pki
diff options
context:
space:
mode:
Diffstat (limited to 'pki')
-rw-r--r--pki/base/common/src/com/netscape/cms/servlet/cert/DoRevokeTPS.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/DoRevokeTPS.java b/pki/base/common/src/com/netscape/cms/servlet/cert/DoRevokeTPS.java
index 08756a5ba..2969db90f 100644
--- a/pki/base/common/src/com/netscape/cms/servlet/cert/DoRevokeTPS.java
+++ b/pki/base/common/src/com/netscape/cms/servlet/cert/DoRevokeTPS.java
@@ -303,6 +303,24 @@ public class DoRevokeTPS extends CMSServlet {
String auditApprovalStatus = ILogger.SIGNED_AUDIT_EMPTY_VALUE;
String auditReasonNum = String.valueOf(reason);
+
+ if (revokeAll != null) {
+ CMS.debug("DoRevokeTPS.process revokeAll" + revokeAll);
+
+ String serial = "";
+ String[] tokens;
+ tokens = revokeAll.split("=");
+
+ if (tokens.length == 2) {
+ serial = tokens[1];
+ //remove the trailing paren
+ if (serial.endsWith(")")) {
+ serial = serial.substring(0,serial.length() -1);
+ }
+ auditSerialNumber = serial;
+ }
+ }
+
long startTime = CMS.getCurrentDate().getTime();
try {