]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/Launcher.java
Pull out setting dh keys (so devel launcher doesn't do it)
[gigi.git] / src / org / cacert / gigi / Launcher.java
index 33511ba54826928ea72de54cfa8543a5674a4852..a47c9bfda7ed7f1699030ef6f7d203ac61b2ed2c 100644 (file)
@@ -48,9 +48,13 @@ import org.eclipse.jetty.util.ssl.SslContextFactory;
 public class Launcher {
 
     public static void main(String[] args) throws Exception {
+        System.setProperty("jdk.tls.ephemeralDHKeySize", "4096");
+        boot();
+    }
+
+    public static void boot() throws Exception {
         Locale.setDefault(Locale.ENGLISH);
         TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
-        System.setProperty("jdk.tls.ephemeralDHKeySize", "4096");
 
         GigiConfig conf = GigiConfig.parse(System.in);
         ServerConstants.init(conf.getMainProps());