You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "Raj, Bhalla" <Bh...@blr.hpsglobal.com> on 2004/04/16 17:00:24 UTC
HttpClient https connection
Hi All,
I am using HttpClient and i am able to successfully send http request.
But when i try to send https request for the same link i get the following
error
(I am able to successfully send https request and response through the
browser. ).
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
i have even followed the steps mentioned for customizing the HttpClinent but
with no luck.
Can this happen if the certificate is not trusted
Can somebody give some pointers to solve this problem.
Thanks
Raj
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: HttpClient https connection
Posted by Michael Katz <ec...@yahoo.com>.
Are you sure you're url starts with
https://
instead of http://
olegk@bluewin.ch wrote:
> Raj,
> Have a look at the 'known problems' & 'troubleshooting sections' of the HttpClient
> SSL guide: <http://jakarta.apache.org/commons/httpclient/sslguide.html>.
> If you are still unable to solve the problem after having followed the instructions
> given in the guide, post a message to the HttpClient mailing list <http://jakarta.apache.org/commons/httpclient/mail-lists.html>
>
> Cheers,
>
> Oleg
>
>
>>-- Original Message --
>>Reply-To: "Jakarta Commons Users List" <co...@jakarta.apache.org>
>>From: "Raj, Bhalla" <Bh...@blr.hpsglobal.com>
>>To: commons-user@jakarta.apache.org
>>Subject: HttpClient https connection
>>Date: Fri, 16 Apr 2004 20:30:24 +0530
>>
>>
>>Hi All,
>>
>>I am using HttpClient and i am able to successfully send http request.
>>But when i try to send https request for the same link i get the following
>>error
>>(I am able to successfully send https request and response through the
>>browser. ).
>>
>>javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
>>
>>i have even followed the steps mentioned for customizing the HttpClinent
>>but
>>with no luck.
>>Can this happen if the certificate is not trusted
>>
>>
>>Can somebody give some pointers to solve this problem.
>>
>>
>>Thanks
>>Raj
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
RE: HttpClient https connection
Posted by ol...@bluewin.ch.
Raj,
Have a look at the 'known problems' & 'troubleshooting sections' of the HttpClient
SSL guide: <http://jakarta.apache.org/commons/httpclient/sslguide.html>.
If you are still unable to solve the problem after having followed the instructions
given in the guide, post a message to the HttpClient mailing list <http://jakarta.apache.org/commons/httpclient/mail-lists.html>
Cheers,
Oleg
>-- Original Message --
>Reply-To: "Jakarta Commons Users List" <co...@jakarta.apache.org>
>From: "Raj, Bhalla" <Bh...@blr.hpsglobal.com>
>To: commons-user@jakarta.apache.org
>Subject: HttpClient https connection
>Date: Fri, 16 Apr 2004 20:30:24 +0530
>
>
>Hi All,
>
>I am using HttpClient and i am able to successfully send http request.
>But when i try to send https request for the same link i get the following
>error
>(I am able to successfully send https request and response through the
>browser. ).
>
> javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
>
>i have even followed the steps mentioned for customizing the HttpClinent
>but
>with no luck.
>Can this happen if the certificate is not trusted
>
>
>Can somebody give some pointers to solve this problem.
>
>
>Thanks
>Raj
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org