https « jetty « Java Enterprise Q&A





1. Jetty HTTP Client with SSL    stackoverflow.com

I am following the Jetty HttpClient Example, but I am unable to get an SSL connection working. When I connect using a proxy, it throws a "Not Implemented" exception. ...

2. Restlet-1.1 example\book\rest\ch2\Example2_5 no client connectors for HTTPS    stackoverflow.com

Example2_5 creates a client for HTTPS to handle request

final Response response = new Client(Protocol.HTTPS).handle(request);
The only related jar in Restlet-1.1 is org.mortbay.jetty.https.jar, which I added to my runtime classpath. Nevertheless, I am getting ...

3. Is there a way to force Jetty to only use HTTPS?    stackoverflow.com

I'm trying to force Jetty to only use HTTPS (or redirect to HTTPS from HTTP). So far, I can access the server using both HTTP and HTTPS. Here's the connector configuration:

<Call name="addConnector">
 ...

4. Having issues using existing Entrust certificates for Jetty SSL connection    stackoverflow.com

I have three files from Entrust: *.csr, *.key and *.crt. So far:

  1. I have brought the *.key and *.crt into a PKCS12 keystore using OpenSSL
  2. I have imported the *.pkcs12 into a keystore using ...

5. Enable https for Jetty webservice in apache2 runs on ubuntu    stackoverflow.com

I am looking for the best approach and the steps to enable a webservice which runs on Embedded Jetty. The Apache2 is running in front of the Jetty. The requiremtns are ...

6. What does the Local close error mean sending a https call using jetty http client?    stackoverflow.com

I am getting the following error when making a http call over ssl with jetty http client with both client certificates and server authentication.

java.io.EOFException: local close
at org.eclipse.jetty.client.HttpConnection.close(HttpConnection.java:651)
at org.eclipse.jetty.client.HttpConnection.handle(HttpConnection.java:361)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
at ...