On Tue, 2010-09-14 at 19:56 +0100, sebb wrote:
> On 14 September 2010 18:09, Oliver Siegmar <[email protected]> wrote:
> > Hello,
> >
> > I'd like to access content that is provided by https but my code always 
> > fails
> > with an SSLException. I tried it with a very simple example:
> >
> >
> > import org.apache.http.client.HttpClient;
> > import org.apache.http.client.methods.HttpGet;
> > import org.apache.http.impl.client.DefaultHttpClient;
> >
> > public class HttpsTest {
> >
> >    public static void main(final String[] args) throws Exception {
> >        final HttpClient client = new DefaultHttpClient();
> >        final HttpGet req = new HttpGet("https://www.apache.org";);
> >        client.execute(req);
> >    }
> >
> > }
> >
> 
> Works OK for me.
> 
> What version of HttpClient are you using?
> Java?
> OS?
> 

The problem affects 4.0.2 only.

It looks like I messed up applying the patch contributed by a Google
engineer [1]. I did not apply cleanly and I had to adjust things
manually and I f***ed up in the process. I am afraid we will need an
emergency release

Oleg

[1] https://issues.apache.org/jira/browse/HTTPCLIENT-898




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to