how to set javax.net.ssl.SSLContext to Restlet ClientResource

2013-08-14 Thread emre he
Hi, i am using Restlet client ClientResource to act as a REST Client, i will use HTTPS connection and trying to set SslContext to ClientResource, is there any way to set javax.net.ssl.SSLContext to ClientResouce? below codes will generate exception which caused ClientResource start failed.

Re: how to set javax.net.ssl.SSLContext to Restlet ClientResource

2013-08-14 Thread Thierry Boileau
Hello Emre, the way to configure the client helper, is to provide a ssl context factory instead of a ssl context. You can provide your own factory or use one provided by the framework: - org.restlet.ext.ssl.DefaultSslContextFactory - org.restlet.ext.ssl.PkixSslContextFactory -

Re: Restlet runing with Jetty on HTTPS BindException

2013-08-14 Thread Thierry Boileau
Hello Patrick, I've add an answer to your question on SOF. Best regards, Thierry Boileau 2013/8/12 Patrick Dürsteler patr...@sunsus.net Hello I have BindExceptions if I'm trying to run Restelt with Jetty: