Re: [jetty-user] Configuring a SslContextFactory from an input stream
Michael Gorovoy <[email protected]> Sun, 2 Oct 2011 14:50:57 -0400
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <CAMZZgu3mxSxJmXA4snWhkmR_MEj70=OgnzgxcgVr0AbOxDuYHA@mail.gmail.com> |
Simone and I had a conversation about this a while ago, and decided that it is best to use Resource classes for this purpose, instead of using the stream directly. Michael Gorovoy [email protected] On Wed, Sep 28, 2011 at 3:01 PM, Max Harper <[email protected]> wrote: > Thanks Jesse. I filed > https://bugs.eclipse.org/bugs/show_bug.cgi?id=359292 > > Max > > > On Wed, Sep 28, 2011 at 1:39 PM, Jesse McConnell < > [email protected]> wrote: > >> not sure why that is marked deprecated, open an issue on >> bugs.eclipse.org under RT/Jetty and we'll take a look >> >> I can't see why we would restrict to just file based like that >> >> cheers, >> jesse >> >> -- >> jesse mcconnell >> [email protected] >> >> >> >> On Wed, Sep 28, 2011 at 13:10, Max Harper <[email protected]> wrote: >> > 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 >> > >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> >