0
votes
1answer
17 views

SSL issue with HttpGet probably because server is requesting client authentication

We are using following versions of diff libraries Apache-HttpComponents-HttpCore = 4.1; Apache-HttpComponents-HttpClient = 4.1.1; JDK = 1.6_64; and suddenly started ...
0
votes
0answers
22 views

HTTP Get failing for HTTPS with javax.net.ssl.SSLPeerUnverifiedException

I have been using this infrastructure from past couple of months and it was working fine. I used to hit Google with https and get the result. Suddenly, I started getting SSLPeerVerifiedException for ...
1
vote
0answers
80 views

.NET 4.5 HttpClient PUT or POST over SSL always fails

I am having a terrible time troubleshooting this issue. I'm also having a terrible time reproducing it consistently from one application to another. Under certain circumstances, which I cannot seem ...
0
votes
0answers
34 views

httpcomponents's ssl connection results in socket is closed

I am trying to get some data from webserver which works fine with http. But when I try https(ssl connection), I get the exceptions like below. I get the http status code 200 and response content ...
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 ...
-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 ...
1
vote
1answer
223 views

SSL connection with custom keystore .jks file and password and Send a request to URL

I need send a request to URL with custom keystore .jks file and password . Here is the following piece of code . It is not very clean. I need to clean it up :-) I see an exception of ...
1
vote
0answers
210 views

android httpclient ssl certificate not trusted godaddy ssl

I have a GoDaddy ssl certificate on my server, and when I try accessing the url with my android app it throws an exception: "Not trusted server certificate" My code is: HttpPost post = new ...
1
vote
2answers
82 views

Trusting an expired certificate

My client is failing with the below error while communicating with a https server with an expired cert. While we are in the process of waiting that to be fixed on the server side by renewing, I am ...
1
vote
2answers
5k views

Apache HTTP Client javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

We are developing an application using tomcat and jersey. Within this webapplication we need to connect to a https Website with a valid, not expired certificate. If I do connect to this website ...
0
votes
1answer
141 views

CertPathValidatorException when accesing WebService from Tomcat WebApp

First: I know, there are a lot of "CertPathValidatorException" threads and i checked them already :) I have the following problem, for which i just can't find a solution. I would realy appreciate ...
1
vote
1answer
321 views

HttpClient 4.2.3 using both SSL encryption and NTLM authentication fails

I am trying to use a REST call to Sharepoint 2010 via HTTPClient 4.2.3 from a Liferay 6.1 portlet. I have imported the cert into my local MAC's JVM cacerts and am trying to load the cacerts as the ...
1
vote
1answer
208 views

Jetty HttpClient 9 (9.0.0.M5) SSLContextFactory's TrustAll flag not working?

I'm using Jetty HttpClient 9 to do some simple web crawling and I can't seem to make it work with HTTPS. The following simple code that makes a synchronous GET request ... SslContextFactory ...
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
0answers
218 views

Android SSL httpGet error 500 server denied the URL

I am trying to start a connection with a microsoft exchange server web access portal. The idea is my program initially opens a web view, and then continually refreshes the page using a ...
1
vote
2answers
359 views

Android rest client with SSL to specific certificate

I'am trying to connect to SSL rest service from Android. The server uses a SSL cert that is not from a common CA (Thawte, Verisign...) I'have used this example to proceed: ...
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 ...
1
vote
1answer
383 views

The request was aborted: Could not create SSL/TLS secure channel in Windows 8 Metro App

I have a list of 350 downloadable image urls. I download 10 images parallely at one shot by running multiple tasks. But after downloading N number of images suddenly my code throws the following ...
3
votes
0answers
474 views

Difference between KeyStore and KeyManager/TrustManager

What is the difference between using a KeyStore Object for the keystore and truststore; as opposed to using the KeyManager and TrustManager? Let me explain why I am asking. I am working with ...
0
votes
1answer
567 views

SSL using HttpClient on Android

I have my app running a DefaultHttpClient and works fine conecting with the Apache Server on Xampp. I need to implement SSL but i can't i see other questions but in all the answer is accepting all the ...
1
vote
0answers
141 views

Accessing the peer certificate in Jetty HttpClient

I am using Jetty HttpClient to make HTTPS requests. After establishing the SSL connection and before sending the data I would like to verify that I am talking to the intended server. Basically, if I ...
1
vote
0answers
103 views

Can I send login credentials securely to a server that uses SSL with HttpClient?

My app uses HttpClient to login to a website that uses SSL (https://site.com/login.php). I recently got a message from them saying that my app should communicate with their website more securely. I ...
7
votes
1answer
2k views

how to check SSL certificate expiration date programmatically in Java

I need to extract expiration date from SSL certificate on web site in Java,should support both trusted and self-signed certificate,such as: 1.trusted https://github.com 2.self-signed ...
2
votes
2answers
1k views

SSL connection reuse with Android HttpClient

I'm developing a secure web service between my self-implemented java web proxy (that forwards requests to the actual web service) and an android application. Doing so with standard (insecure) http ...
0
votes
0answers
479 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
2answers
657 views

Android HTTPS Clientnot reading data from socket

I'm developing an application that will read SSL encrypted string data from a C++ server (presently on my local network), and return information in kind. I have followed many tutorials and many ...
0
votes
0answers
276 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 ...
1
vote
1answer
660 views

Curl cacert to Java HttpClient equivalent

I wonder if I am able to make a connection using curl like the following command, curl --cacert some.pem https://someurl.com/resource How do I convert this to httpclient code? I understands I ...
3
votes
2answers
10k views

SSL “Peer Not Authenticated” error with HttpClient 4.1

I am building a simple app monitor to poll one of our API URLs and email us if it can't get a HTTP 200 status code from the response (this would indicate our API is down for some reason). I am using ...
2
votes
1answer
298 views

Managing Network Changes When Downloading Content

The app I am working on is supporting android 2.3 upwards. As the download manager does not support https in 2.3(I can't comprehend why), I am implementing my own version. The problem I have is if ...

1 2 3
15 30 50 per page