Re: restlets : communicating in SSL with tomcat

2010-08-26 Thread Xavier Méhaut
Hi Bruno, It's well working , thanx... To complete your post, below is a client code for the example we made : Context ctx = new Context(); Client client = new Client(ctx, Protocol.HTTPS); ClientResource service = new ClientResource( https://192.168.2.199/./status;);

Re: restlets : communicating in SSL with tomcat

2010-08-25 Thread Bruno Harbulot
Just to clarify, if I understand well, you're using a ClientResource from within the Restlet environment running within Tomcat (so effectively, your server is a client in that respect)? How do you configure SSL on the client connector? A priori, it looks like there's something wrong with the

Re: restlets : communicating in SSL with tomcat

2010-08-25 Thread Xavier Méhaut
Hi Bruno, Actually our architecture is the following : A PC runs a restlet server locally (withou a servlet container); the resources served by this server call themselves other restlets which are located into another restlet serveron another PC, but this restlet server one is hosted in Tomcat

Re: restlets : communicating in SSL with tomcat

2010-08-25 Thread Bruno Harbulot
On 25/08/10 13:53, Xavier Méhaut wrote: Hi Bruno, Actually our architecture is the following : A PC runs a restlet server locally (withou a servlet container); the resources served by this server call themselves other restlets which are located into another restlet serveron another PC, but

restlets : communicating in SSL with tomcat

2010-08-23 Thread Xavier M.
Hello, We use Tomcat with SSL configuration to host our restlet application. Up to now we don't succeed accessing restlets in ssl mode ; Do we need to add ssl parameters in restlets too, or is the tomcat configuration sufficient? regards Xavier