Hi Bruno,
I'd like to sincerely thanks for your answer :)
After following your suggestions now I set parameters in this way:
org.restlet.Server https_server = new org.restlet.Server(Protocol.HTTPS,
https_port);
https_server.setContext(new Context()); //otherwise getContext() returns null
Sorry, I forgot to specify that into the code pasted the second time, I've not
sent any credential to the server because I previously added the ping resource
to a not guarded router.
However this doesn't change a thing because while debugging, the exception is
thrown before any verifier or
On 18/05/2010 18:17, webp...@tigris.org wrote:
Hi Bruno,
I'd like to sincerely thanks for your answer :)
After following your suggestions now I set parameters in this way:
org.restlet.Server https_server = new org.restlet.Server(Protocol.HTTPS,
https_port);
https_server.setContext(new
Hi Bruno!
Thanks a lot!
I made some confusion between restlet application and restlet server's
parameters/attributes etc. However I was able to adjust everything starting
from the observation you wrote to me in your first reply.
However I continued getting the Invalid format exception until I
ok, I've solved adding the following line (what a damn) to my java client:
System.setProperty(javax.net.ssl.trustStore, jksPath);
IMHO The needing for that line should be specified into the Configuiring
https restlet wiki page
I solved the Invalid keystore format exception by moving into my home
directory the .jks and .cer files created.
Currently I have (not guarded) access to my ping resource and I managed to
access it successfully from my browser. However from my java client class, I
still get the
Hi,
On 18/05/10 16:19, iammyr wrote:
Hi everyone,
I have set up a REST application, using restlet-jse-2.0snapshot to which
I've added to servers: the first one supports the http protocol on port
9877, while the second one supports the https protocol on port 9873
org.restlet.Server
7 matches
Mail list logo