Re: Truststore and keystore per application

2009-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcus, So, my original code was missing some important stuff (the ??? parts) and was incorrect in one place (the first two arguments to SSLContext.init() are arrays, not scalars). The following code compiles and executes on my machine. You'll need t

Re: Truststore and keystore per application

2009-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcus, On 4/7/2009 9:49 AM, Marcus Carlson wrote: > I've developed an application that sets up an encrypted socket in a > separate thread when running init() on my servlet. However, I have no > idea how to set up the truststore and keystore just for

Truststore and keystore per application

2009-04-07 Thread Marcus Carlson
Hi, I've developed an application that sets up an encrypted socket in a separate thread when running init() on my servlet. However, I have no idea how to set up the truststore and keystore just for this application. Is this possible at all? TIA, Marcus --