Hi, I am having problems running SSL connections. I am running with
jetty6.1.1rc1 (and prior versions of 6.1) and restlet1.0rc2

I wanted to check that I was doing the right thing in Restlets before I take
further. I am running an example from your tutorial, and have it working with
Protocol.HTTP servers. But I do the following to convert to HTTPS:

                component.getContext().getParameters().add(new 
Parameter("keystorePath",
keystoreFile.toURI().toASCIIString()));
                component.getContext().getParameters().add(new 
Parameter("keystorePassword",
"eg-password"));
                component.getContext().getParameters().add(new 
Parameter("keyPassword",
"eg-password"));

                component.getServers().add(Protocol.HTTPS, 8182);

When this runs, the server hangs when a client tries to connect. If I run this
with any of the parameters wrong, eg. keystoreFile wrong, passwords wrong, then
I get the exceptions I expected.

Regards
Nick

Reply via email to