]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/Launcher.java
Implement testing of internal certificate issuing (and login with it)
[gigi.git] / src / org / cacert / gigi / Launcher.java
index 6eb5976a6698e504aa3e249714821bfe3186e0df..b3c437ed993072afe382412c4a638c42d7c939e8 100644 (file)
@@ -73,7 +73,8 @@ public class Launcher {
                IOException {
                final SslContextFactory sslContextFactory = generateSSLContextFactory(conf, "www");
                final SslContextFactory secureContextFactory = generateSSLContextFactory(conf, "secure");
-               secureContextFactory.setNeedClientAuth(true);
+               secureContextFactory.setWantClientAuth(true);
+               secureContextFactory.setNeedClientAuth(false);
                final SslContextFactory staticContextFactory = generateSSLContextFactory(conf, "static");
                final SslContextFactory apiContextFactory = generateSSLContextFactory(conf, "api");
                try {