On Wed, 2006-02-15 at 15:52 -0500, [EMAIL PROTECTED] wrote:
> Hello,
> 
> I'm still trying to get httpClient to work with our intranet server over
> an https connection.  I can connect and load pages via firefox, curl, and
> seemingly all other methods of retrieving a web page, but when i connect
> with httpClient, i get "javax.net.ssl.SSLException: Received fatal alert:
> bad_record_mac"...
> 
> I'll be happy to provide any more info that may help.  Any suggestions or
> tips on how to fix this or where the problem may lie would be appreciated.
> (and this does occure w/ httpClient 3.0)
> 
> Server version: Apache/2.0.50
> OpenSSL 0.9.7d
> 
> ------------------
> HttpClient httpclient = new HttpClient();
> 
> String url = "https://"; + ourintranetdomain + ":443");
> 
> url += "/dir/";
> 
> GetMethod httpget = new GetMethod(url);
> try {
>       httpclient.executeMethod(httpget);
>       System.out.println(httpget.getStatusLine());
> } catch (Exception e){
>       e.printStackTrace();
> }finally {
>       httpget.releaseConnection();
> }
> --------------------
> 
> -Jeff

Jeff,

Please follow the instructions given in the troubleshooting section of
the SSL guide [1]. You may also want to take a look at the 'Known
limitations and problems'

[1] http://jakarta.apache.org/commons/httpclient/sslguide.html 

Oleg

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to