@@ -85,39 +85,6 @@ public static void main(String[] args) throws Exception {
85
85
86
86
WebAppContext context = new WebAppContext ();
87
87
88
- // //server for ssl ,default not open
89
- // String sslport = getOrCreateEnv(PREFIX + "ssl", "433");
90
- // if (sslport != null) {
91
- // // HTTP Configuration
92
- // HttpConfiguration http_config = new HttpConfiguration();
93
- // http_config.setSecureScheme("https");
94
- // http_config.setSecurePort(Integer.parseInt(sslport));
95
- //
96
- // SslContextFactory contextFactory = new SslContextFactory();
97
- //// sslContextFactory.setKeyStorePath(jetty_home + "/../../../jetty-server/src/test/config/etc/keystore");
98
- //// sslContextFactory.setKeyStorePassword("OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4");
99
- //// sslContextFactory.setKeyManagerPassword("OBF:1u2u1wml1z7s1z7a1wnl1u2g");
100
- //// sslContextFactory.setTrustStorePath(jetty_home + "/../../../jetty-server/src/test/config/etc/keystore");
101
- //// sslContextFactory.setTrustStorePassword("OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4");
102
- //// sslContextFactory.setExcludeCipherSuites("SSL_RSA_WITH_DES_CBC_SHA",
103
- //// "SSL_DHE_RSA_WITH_DES_CBC_SHA", "SSL_DHE_DSS_WITH_DES_CBC_SHA",
104
- //// "SSL_RSA_EXPORT_WITH_RC4_40_MD5",
105
- //// "SSL_RSA_EXPORT_WITH_DES40_CBC_SHA",
106
- //// "SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA",
107
- //// "SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA");
108
- //
109
- // // SSL HTTP Configuration
110
- // HttpConfiguration https_config = new HttpConfiguration(http_config);
111
- // https_config.addCustomizer(new SecureRequestCustomizer());
112
- //
113
- // // SSL Connector
114
- // ServerConnector sslConnector = new ServerConnector(server,
115
- // new SslConnectionFactory(contextFactory,HttpVersion.HTTP_1_1.asString()),
116
- // new HttpConnectionFactory(https_config));
117
- // sslConnector.setPort(8443);
118
- // server.addConnector(sslConnector);
119
- // }
120
-
121
88
File jcoderHome = new File (home );
122
89
123
90
makeFiles (jcoderHome , logPath );
0 commit comments