111
votes
14answers
125k views

Trusting all certificates using HttpClient over HTTPS

Recently posted a question regarding the HttpClient over Https (found here). I've made some headway, but I've run into new issues. As with my last problem, I can't seem to find an example anywhere ...
1
vote
3answers
690 views

Android SSL HttpGet (No peer certificate) error OR (Connection closed by peer) error

I am trying to do a simple HttpGet to read a webpage. I have this working on iOS and working on Android over http, but not https. The url is an internal network IP and custom port, so I can read with ...
0
votes
2answers
1k views

How to create https client with synapse?

I need a https client used with synapse. Do you have any demo about it? Thank a lot.
1
vote
0answers
100 views

HTTPS support on Windows Phone 8 HttpClient

I am trying to use Nuget Http client library: HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, url); request.Headers.Add("UserAgent", "Windows 8 app client"); HttpClient ...
3
votes
3answers
6k views

Android - Sending HTTPS Get Request

I would like to send a HTTPS Get Request to the google shopping api however nothing is quite working for me, for example here is what I'm trying at the moment: try { HttpClient client ...
-1
votes
2answers
122 views

Is this HTTPS connection secure?

I was looking for a way to retrive data from a server-side using Https and a self-signed certificate. Following this question: Self Signed SSL acceptance Android and @Brian Yarger Answer I have ...
0
votes
0answers
33 views

using HttpClient to log in to hpps server

I'm trying to log in to a website pragmatically through an android app using the HttpClient class. The first page accessed only requires a user name, after submitting a user name the next page should ...
19
votes
6answers
41k views

HttpGet with HTTPS : SSLPeerUnverifiedException

Using HttpClient, I receive the following error when attempting to communicate over HTTPS: Exception in thread "main" javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated. URI loginUri = ...
0
votes
1answer
383 views

Connection to https://mail.google.com refused, apache httpclient

I can download files like that: If url is , for instance http:/b.net/Doc1.pdf it downloads very well, but if it is, for example ...
0
votes
2answers
246 views

Ruby httpclient url

I am making a call to a webservice via HTTPClient ruby gem. The location doesn't matter, but let's say it is at: https://mywebservice.com/api/v1/accounts/login/ When I send a post request: url = ...
0
votes
0answers
110 views

HTTPS connection

I am being told a server i am trying to access https://someserver.com/ requires certificate verification for connection and i have exported its certificate.And I am trying to connect to HTTPS server ...
0
votes
1answer
83 views

HTTP Client with https

What is the best way to process HTTP GET Method with SSL using HTTP Components HTTPClient 4 Project? what is the best way to parametrized certification info? properties file? reload method to Daemon ...
2
votes
1answer
755 views

Exception reusing HttpClient https connection

I am using apache HttpClient. While debugging something, I found I am getting error when I execute the same HTTPS HEAD request for the second time using the same connection (connection kept alive). ...
59
votes
5answers
86k views

Accepting a certificate for HTTPs on Android

I'm trying to make Https connections on the Android phones, using HttpClient. Trouble is that since the certificate isn't signed I keep getting "javax.net.ssl.SSLException: Not trusted server ...
2
votes
0answers
1k views

Secure support of HTTPS in an Android app with untrusted certificates

I know this question was asked several times but I didn't find any complete solution... Here is the context : I'm developping an Android application which allow the user to connect to his self-hosted ...

1 2 3 4
15 30 50 per page