httpsurlconnection Questions
3
Solved
Is having the root certificate in truststore enough for establishing the connection with a website? If so, just to test, I've imported the root certificate of google to new trust store which I have...
Cultured asked 1/12, 2019 at 12:2
5
Solved
I am getting "java.lang.ClassCastException" while trying to connect to a url using javax.net.ssl.HttpsURLConnection .
I am using Weblogic Server 10.3.4.
import javax.net.ssl.HostnameVerifier;
i...
Undertone asked 29/8, 2013 at 13:12
1
I know this question was raised a lot, but i didn't find any solution.
I'm trying to upload big file using https but i'm getting exception " I/O error during system call, Broken pipe" same code wor...
Kanter asked 1/10, 2014 at 10:19
4
Solved
I read in an article that HttpsURLConnection will transparently negotiate the SSL connection.
The official document says:
This class uses HostnameVerifier and SSLSocketFactory. There are defaul...
Conias asked 8/5, 2015 at 10:24
3
Solved
Network environment:
Https Client<=============>Proxy Server<==============>Https Server
&...
Caras asked 10/4, 2013 at 13:21
3
Solved
I have a library that I need to use in one of my projects, which unfortunately registers its own URLStreamHandler to handle http-URLs. Is there a way to get a reference to Java's default http- and ...
Edrei asked 2/8, 2013 at 13:52
8
We wrote client application in android which connects with https servers using HttpsUrlConnection apis. Due to Poodle vulnerability, we need to disable SSLv3 from the list of enabled protocols whil...
Vachill asked 30/10, 2014 at 9:33
2
Solved
I am developing an simple application which uses https protocol to post and get data from the server. I searched on internet but there are few resources available, I tried most of them but couldn't...
Romeyn asked 29/6, 2016 at 8:15
0
I need to change my branch named testingProtectedBranch1 as a protected branch with providing the following parameters
on
required_status_check : include_admins= true, strict= true, context= conti...
Erk asked 16/1, 2017 at 6:27
2
I am trying to use a GUI Java program written by someone else that is not behaving as I would expect. In the course of the program's operations, it contacts a server to pull data down, but it's not...
Liar asked 21/7, 2012 at 11:52
9
I am implementing webview application in android. When i am trying to load https url one or two times it finishes the activity. Agian trying to load https url it shows webpage not available. please...
Demarcate asked 22/8, 2013 at 10:21
4
I'm testing a sample of code but its always error at connection.setDoInput(true);
HttpsURLConnection connection = null;
DataOutputStream outputStream = null;
DataInputStream inputStream = null;
S...
Promotion asked 19/1, 2014 at 2:57
3
Solved
I want to do a HTTPS post method to send some data from my android app to my website.
I used HttpURLConnection first and it's working fine with my HTTP URL. My production website is on HTTPS and I...
Varicotomy asked 12/5, 2013 at 5:36
3
During TLS negotiation, clients send a list of supported ciphers to the server, the server picks one, and encryption starts. I want to change this cipherlist sent to the server by Android, when I'm...
Peskoff asked 30/4, 2013 at 12:6
2
Solved
I'm having trouble with getting Android to connect to a simple OpenSSL server using the HttpsUrlConnection object (I've combed through StackOverflow and a bunch of online tutorials, and followed th...
Identical asked 10/9, 2012 at 6:29
1
Executive summary: I'm using the HttpsUrlConnection class in an Android app to send a number of requests, in a serial manner, over TLS. All of the requests are of the same type and are sent to the ...
Orison asked 12/1, 2016 at 16:9
4
Solved
DefaultHttpClient, ThreadSafeClientConnManager, HttpParams,HttpProtocolParams, SchemeRegistry, SSLSocketFactory, NameValuePair, HttpResponse are deprecated.
I tried to use HttpsUrlConnection but i...
Gilt asked 15/12, 2015 at 15:59
1
Solved
I am using a 'get' method on HttpsUrlConnection. When i am testing my code on eclipse (Windows) it works fine. When i compress it to a jar file and use it on android studio it gives me '405 - metho...
Erinn asked 31/10, 2015 at 12:12
4
Is the following code safe:
try {
URL url = new URL(urlRequest);
conn = (HttpURLConnection)url.openConnection();
conn.setConnectTimeout(30000);
conn.setReadTimeout(30000);
conn.setRequestProp...
Elenore asked 22/1, 2014 at 15:18
2
Solved
I'm using the following code for post requests
public String executeHttpPost(String uri, String data) {
HttpURLConnection conn = null;
URL url = null;
String s = null;
try {
url = new URL(...
Gather asked 12/2, 2014 at 9:8
1
I am developing a java agent to monitor http communications happening in my application server. I like to know the SSL version(SSLv3, TLS, etc) used in outgoing Https connections. Is there a way to...
Steelworks asked 22/11, 2014 at 8:56
0
I'm writing an Android App which connects to a Server to call some Webservices. This server uses a self-signed Certificate for SSL and requires a Client Certificate for Authentication.
When I conn...
Nymphalid asked 7/2, 2014 at 10:2
3
Solved
I've spent countless hours trying to decrypt Android SSL traffic via Fiddler for HttpsUrlConnection with very little success. How do I reliably configure Fiddler to decrypt SSL traffic from an Andr...
Fascine asked 31/5, 2013 at 17:39
1
Solved
After a lot of time wasted googling for the possible reasons for a 'Bad Request' when requesting for a token at https://accounts.google.com/o/oauth2/token, I decided to ask why this code can't obta...
Penland asked 28/10, 2013 at 0:51
1
I know this subject is discussed in many places, but after I went through almost all of them, I have decided to create my first StackOverflow question...
The problem is the following:
I want to c...
Atory asked 23/9, 2013 at 12:48
1 Next >
© 2022 - 2024 — McMap. All rights reserved.