public static ServerSocket make_server ( int port , String pkcs12Path , String pkcs12Pass ) throws IOException , KeyStoreException , NoSuchAlgorithmException , CertificateException , UnrecoverableKeyException , KeyManagementException { try ( InputStream in = new FileInputStream ( pkcs12Path ) ) { return make_server ( port , in , pkcs12Pass ) ; } }
Helper class to make a SSL server