users@grizzly.java.net

Re: SSL?

From: Peter Speck <speck_at_vitality.dk>
Date: Sat, 7 Jul 2007 19:28:59 +0200

On 06/07/2007, at 19:03, Jeanfrancois Arcand wrote:

> take a look at this class:
>
> https://grizzly.dev.java.net/source/browse/*checkout*/grizzly/trunk/
> modules/grizzly/src/test/java/com/sun/grizzly/
> SSLConnectionTest.java?rev=332

This supports SSL for plain sockets, but I want to use it for https.
It seems like I could hack SelectorThread.initController to use a
SSLConnectorHandler, but that it's only in svn-trunk and building svn-
trunk using maven2 fails for me as I can't figure out how to build
com.sun.grizzly:framework:jar:1.5-SNAPSHOT.

I did:
svn co https://www.dev.java.net/svn/grizzly/trunk/
cd http-utils; mvn clean install; cd ..
cd rcm; mvn clean install
        which then fails.

Or am I wandering into a dark forest by trying to hack
SelectorThread.initController?


>> Hi,
>> I'm using code similar to
>> http://jlorenzen.blogspot.com/2007/06/using-grizzly-to-create-
>> simple-http.html but how do I extend this, so the server is using
>> SSL? I've tried digging thru the docs, but haven't been able to
>> figure it out.

----
    - Peter Speck