Tagged Questions
5
votes
1answer
866 views
Android WebView.postUrl() showing blank screen when posting to HTTPS URL
In my android app, I am posting data to a https servlet URL from a WebView as shown below
String postData = "fileContents=" + fileCon;
WebView.postUrl(url, EncodingUtils.getBytes(postData, ...
2
votes
1answer
411 views
getting XML data via https://
My code works for http, but not https. Here is the error message im getting when i call getMessage() on the IOException:
java.net.SocketException: Address family not supported by protocol
heres my ...
0
votes
1answer
290 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 ...
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
vote
0answers
27 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 ...
1
vote
0answers
210 views
HTTPS requests: SchemeRegistry necessary?
Basing on this response (April 2010) they said that it is necessary to configure the HttpClient with a proper SchemeRegistry in order to send HTTPS requests.
This other response (October 2010), ...
1
vote
0answers
298 views
SSL Connection with webclient.getpage from Java client error 403
I have an annoying problem that maybe someone has already addressed.
I have a solution that connects to an HTTPS page (you download the certificate in case of lack or variation), provides the ...
1
vote
0answers
658 views
Android HttpClient Post Request - Header Authentication
So I'm trying to login to a asp.NET server over HTTPS via Android HttpClient Post.
When the POST request is executed, it will return one of two possibilities:
-An error login page (with Status Code ...
1
vote
0answers
871 views
https on tmobile android super slow (using httpclient.execute method)
I have an application that makes numerous calls to REST web services I have written. I have noticed in general that when I added SSL the web calls went from <1 sec to ~3sec to execute. Is that ...
1
vote
0answers
823 views
Validating self-signed secure certificate, Android
I need to validate a self-signed certificate when connecting to a .NET web service using HttpClient. Can anyone redirect me to any resources ?
Thanks,
Teja.
Edit: From what I've learned after ...
0
votes
0answers
30 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 ...
0
votes
0answers
105 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
0answers
449 views
client authentification using ssl (HTTPS)
I have to communicate (through java code) with a server which will do client authentification using certificates. I short i need to post an xml on a server.
Steps we took:
1) We generated a private ...
0
votes
0answers
257 views
Connecting to servlet https URL
I want to access a secure URL using HttpsURLConnection and am having trouble reading the content back.
I am using the trustmanager example given here and have added the following code to access the ...
0
votes
0answers
1k views
SSL Handshake not working using Proxy
I am trying access a HTTPS URL using a proxy. I keep getting this error msg:
" Unrecognized SSL message, plaintext connection?"
during the SSL Handshake.
It later results in "peer not ...