[jetty-user] Configuring a SslContextFactory from an input stream

Max Harper <[email protected]> Wed, 28 Sep 2011 13:10:00 -0500
Newsgroups gmane.comp.java.jetty.support
Message-ID <CAP6nrMgCSRvU9qBZ9L9_hAWAWjp2sjw4Eh4n7aToAmBjou1mXg@mail.gmail.com>
I would like to configure a SslContextFactory with a keystore that's stored
in a database.  Therefore, I cannot (easily) use the setKeystore(String)
method, which assumes a path on the file system.  On the other hand, it
works great to use the setKeystoreInputStream method, but that's been
deprecated.  I could not find documentation discussing the preferred
alternatives to this method.  So I ask you, the Jetty experts: how should I
configure my SslContextFactory?

I'm using Jetty 7.4.5.

Thanks for your help!

Max