Max Harper | 28 Sep 2011 20:10
Picon
Gravatar

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

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


Gmane