X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=util-testing%2Forg%2Fcacert%2Fgigi%2Futil%2FSimpleSigner.java;h=8cd6fb2af1b6efa6af3149feb0eef01dfda61e60;hp=77f6e94720b801d421a108eea961fdd9747b47f6;hb=066294eef158778db21dd814b9ab58eb01b7ed28;hpb=0732d9b002460e853933bfae25887c2985b7da0c diff --git a/util-testing/org/cacert/gigi/util/SimpleSigner.java b/util-testing/org/cacert/gigi/util/SimpleSigner.java index 77f6e947..8cd6fb2a 100644 --- a/util-testing/org/cacert/gigi/util/SimpleSigner.java +++ b/util-testing/org/cacert/gigi/util/SimpleSigner.java @@ -192,30 +192,11 @@ public class SimpleSigner { while (rs.next()) { int id = rs.getInt(1); File crt = KeyStorage.locateCrt(id); - String[] call = new String[] { - "openssl", "ca",// - "-cert", - "../unassured.crt",// - "-keyfile", - "../unassured.key",// - "-revoke", - "../../" + crt.getPath(),// - "-batch",// - "-config", - "../selfsign.config" - - }; - Process p1 = Runtime.getRuntime().exec(call, null, new File("keys/unassured.ca")); - System.out.println("revoking: " + crt.getPath()); - if (p1.waitFor() == 0) { - worked = true; - revokeCompleted.setInt(1, id); - revokeCompleted.execute(); - finishJob.setInt(1, rs.getInt(3)); - finishJob.execute(); - } else { - System.out.println("Failed"); - } + worked = true; + revokeCompleted.setInt(1, id); + revokeCompleted.execute(); + finishJob.setInt(1, rs.getInt(3)); + finishJob.execute(); } if (worked) { gencrl(); @@ -223,6 +204,9 @@ public class SimpleSigner { } private static void gencrl() throws IOException, InterruptedException { + if (true) { + return; + } String[] call = new String[] { "openssl", "ca",// "-cert",