Get an HTTPS ServerSocket using JSSE.seeWebServer0#getServerSocket(int)throwsClassNotFoundException if the SecurityProvider cannot be instantiated. SSLServerSocketFactory ssf = (SSLServerSocketFactory)SSLServerSocketFactory.getDefault(); return ssf.createServerSocket(port);
SSLServerSocketFactory ssf = (SSLServerSocketFactory)SSLServerSocketFactory.getDefault(); return ssf.createServerSocket(port);
System.out.println("DarwinSys JSSE Server 0.0 starting..."); JSSEWebServer0 w = new JSSEWebServer0(); w.runServer(HTTPS); // never returns!!