https « jetty « Java Enterprise Q&A

1. Jetty HTTP Client with SSL

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

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?

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

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

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?

I am getting the following error when making a http call over ssl with jetty http client with both client certificates and server authentication. local close
at org.eclipse.jetty.client.HttpConnection.close(
at org.eclipse.jetty.client.HttpConnection.handle(
at org.eclipse.jetty.util.thread.QueuedThreadPool$
at ...