Hi
When I make a connection with HttpClient 4.0.1, I get this message:
hostname in certificate didn't match: 1.2.3.4 != *.testing.com
However when I go to my site in any browser, the certificate is for
*.testing.com so I was wondering where the hostname is being converted to an
IP address. In
I have this code:
-
DefaultHttpClient httpclient = new DefaultHttpClient();
// I want stream body, not file body
InputStream fullStream = new BufferedInputStream(new FileInputStream(...),
8192);
HttpPost method = new HttpPost(...);
MultipartEntity entity = new
Hmm, I tried this too in case it was a problem with the default hostname
verifier, but I still have the same problem:
String url = protocol + :// + hostname + : + port + path;
log.debug(Authenticating user + userName + against URL: + url);
HttpParams params = new
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;
On 14 September 2010 18:09, Oliver Siegmar oli...@siegmar.org 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
On Tue, 2010-09-14 at 19:08 +0300, George Georgieff wrote:
I have this code:
-
DefaultHttpClient httpclient = new DefaultHttpClient();
// I want stream body, not file body
InputStream fullStream = new BufferedInputStream(new FileInputStream(...),
8192);
HttpPost
On Tue, 2010-09-14 at 19:56 +0100, sebb wrote:
On 14 September 2010 18:09, Oliver Siegmar oli...@siegmar.org 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
Am Tuesday 14 September 2010 schrieb Oleg Kalnichevski:
On Tue, 2010-09-14 at 19:56 +0100, sebb wrote:
On 14 September 2010 18:09, Oliver Siegmar oli...@siegmar.org wrote:
Hello,
I'd like to access content that is provided by https but my code always
fails with an SSLException. I
I think this is my problem too (see my email earlier in the day). I'm on Java
1.6_21, 64bit Windows 7, running in Jboss 4.2 if it's any help.
I won't get chance to look at this until Monday now but if there is an
emergency release I'll try it out on Monday.
Cheers
On Tue, 2010-09-14 at 20:49 +0100, Richard Gundersen wrote:
I think this is my problem too (see my email earlier in the day). I'm on Java
1.6_21, 64bit Windows 7, running in Jboss 4.2 if it's any help.
I won't get chance to look at this until Monday now but if there is an
emergency release
10 matches
Mail list logo