sayonatinnofied / rest-client

Automatically exported from code.google.com/p/rest-client
Apache License 2.0
0 stars 0 forks source link

Errors using self-signed certificates #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Server running with BASIC auth and SSL using self signed cert
2. Set username/password in rest-client, check basic auth
3. On SSL tab select "any" for host verification

What is the expected output? What do you see instead?
Make any query (I have just been doing GET to test SSL). Expect valid
response, but instead get this error:

"peer not authenticated"

What version of the product are you using? On what operating system?
2.3 on  Windows XP

Please provide any additional information below.
I use jmeter and it seems to work fine with the SSL setup I've got. I have
tried creating a trust store and specifying that, but it doesn't seem to
make a difference. 

Original issue reported on code.google.com by pen...@gmail.com on 16 Jul 2009 at 9:25

GoogleCodeExporter commented 8 years ago
Same error using a self-signed certificate here. How about an option in the SSL 
tab to 
trust any certificate. 

Original comment by yab...@gmail.com on 20 Oct 2009 at 4:43

GoogleCodeExporter commented 8 years ago
@yabiah : Good suggestion. Let me see if this is possible.

Original comment by subwiz on 20 Oct 2009 at 7:38

GoogleCodeExporter commented 8 years ago
I am not much into SSL programming. I use:

KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());

Where KeyStore is java.security.KeyStore. Could it be that the KeyStore format 
you
supply differ?

Original comment by subwiz on 20 Oct 2009 at 8:11

GoogleCodeExporter commented 8 years ago
The following KeyStore types are supported in Sun Java:

* JKS
* PKCS12

This could be received as input from the user.

At present, it is taking the default (JKS) type only.

Original comment by subwiz on 20 Oct 2009 at 9:23

GoogleCodeExporter commented 8 years ago
Marking as Won't Fix as information requested has not been provided.

Original comment by subwiz on 23 May 2012 at 2:15

GoogleCodeExporter commented 8 years ago
r579 and r580 has the fix.

Original comment by subwiz on 8 Jul 2012 at 9:15