Hi Nick, I've entered a report to keep track of this problem. See my reply there: http://restlet.tigris.org/issues/show_bug.cgi?id=250
Best regards, Jerome > -----Message d'origine----- > De : news [mailto:[EMAIL PROTECTED] De la part de Nick > Envoyé : vendredi 19 janvier 2007 11:46 > À : [email protected] > Objet : SSL problems > > 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

