Hi, On Tue, Feb 7, 2017 at 9:10 AM, John English <[email protected]> wrote: > I'm still playing with SslContextFactory and having some problems. This code > bombs out with a NullPointerException: > > SslContextFactory s = new SslContextFactory(); > keystoreFile = new File(s.getKeyStorePath()); > > I want to locate the keystore file (whose pathname is specified in > start.ini) with having to duplicate the path as a config parameter. I > thought this would do the trick, but I'm obviously mistaken. Can anyone tell > me what I'm doing wrong here?
You have to detail what you're doing, as it's not clear. Are you starting Jetty as a standalone server, and you want to add a component to the server that reads the keystore path ? Are you starting Jetty using embedded code ? -- Simone Bordet ---- http://cometd.org http://webtide.com Developer advice, training, services and support from the Jetty & CometD experts. _______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
