Am Tuesday 14 September 2010 schrieb sebb:
> 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?

client 4.0.2 with core 4.0.1

> Java?

1.6.0_21 64-bit

> OS?

Linux

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

Reply via email to