X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=src%2Forg%2Fcacert%2Fgigi%2FLauncher.java;h=33511ba54826928ea72de54cfa8543a5674a4852;hp=428c25c2a5fc43588a33ced4881626052aac449e;hb=6488c526f4ab89621e4c66bfc7295f9e8c918561;hpb=11330f5b760fa4ccd7d119018401928f14d0642d diff --git a/src/org/cacert/gigi/Launcher.java b/src/org/cacert/gigi/Launcher.java index 428c25c2..33511ba5 100644 --- a/src/org/cacert/gigi/Launcher.java +++ b/src/org/cacert/gigi/Launcher.java @@ -12,6 +12,7 @@ import java.util.List; import java.util.Locale; import java.util.Properties; import java.util.TimeZone; + import javax.net.ssl.ExtendedSSLSession; import javax.net.ssl.SNIHostName; import javax.net.ssl.SNIServerName; @@ -49,6 +50,8 @@ public class Launcher { public static void main(String[] args) 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()); initEmails(conf);