Comments (26)
I believe it is supported in the underlying HTTP library used by RESTClient.
Can you
test it out?
Original comment by subwiz
on 27 Feb 2008 at 5:52
from rest-client.
I tried connecting to https://dev.java.net/ .
It works:
http://flickr.com/photos/subwiz/2297501725/
And I discovered a little secret too: dev.java.net is hosted using JBoss, not
using
Glassfish :O !
Original comment by subwiz
on 28 Feb 2008 at 1:14
from rest-client.
Marking the issue Invalid as the feature already exists.
Original comment by subwiz
on 29 Feb 2008 at 10:38
- Changed state: Invalid
from rest-client.
Yes, that's ok when you only have a server certificate. But it does not work if
i
need to authenticate myself with a certificate: i need to be able to specify a
keystore. This is the same kind of feature that is available under SOAPUI.
Original comment by [email protected]
on 5 Mar 2008 at 10:59
from rest-client.
Makes sense...
I will look into it.
Original comment by subwiz
on 5 Mar 2008 at 11:04
- Changed state: Accepted
from rest-client.
I downloaded SoapUI 2.0.2. The requested feature is available in the menu:
File>Preferences>SSL Settings
Original comment by subwiz
on 5 Mar 2008 at 11:18
from rest-client.
A simple and fast to learn tutorial on Java's support for SSL. Will need this
for
fixing the issue:
http://tvilda.stilius.net/java/java_ssl.php
Original comment by subwiz
on 5 Mar 2008 at 4:19
from rest-client.
Some other details:
http://hc.apache.org/httpclient-3.x/sslguide.html
http://www.jdocs.com/httpclient/3.0.1/api-index.html?m=class&p=org.apache.common
s.httpclient.contrib.ssl&c=AuthSSLProtocolSocketFactory&render=classic
Original comment by subwiz
on 5 Mar 2008 at 4:35
from rest-client.
Original comment by subwiz
on 8 Mar 2008 at 1:00
- Added labels: 3.0
from rest-client.
We should take Option input for:
1. truststore file
2. truststore password
3. keystore file
4. keystore password
These seem to be the input expected by the API. Is this correct @cyrille.puget?
Original comment by subwiz
on 17 Mar 2008 at 4:25
from rest-client.
Yes, this is how it should be done.
In SOAPUI, they might have taken a shorcut since no trustore is required. The
might
do truststore = keystore internally.
Original comment by [email protected]
on 4 Apr 2008 at 10:05
from rest-client.
Thanks for the detail. I will incorporate this feature in the next release.
Original comment by subwiz
on 9 Apr 2008 at 5:34
from rest-client.
Revision 225: Http library changed to:
http://hc.apache.org/httpcomponents-client/
This has a neater implementation of SSL. SSL example for this API:
http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/sr
c/examples/org/apache/http/examples/client/ClientCustomSSL.java
Original comment by subwiz
on 25 Jul 2008 at 1:31
from rest-client.
Rev. 226 has a basic implementation. Yet to do the file save part, browse
button for
selecting the truststore file.
Original comment by subwiz
on 25 Jul 2008 at 5:15
from rest-client.
The binary with SSL support is available for download from here:
http://wiztools.org/project/RESTClient/restclient-3.0-SNAPSHOT-jar-with-dependen
cies.jar
@cyrille.puget, can you test this and tell me if it satisfies your requirement?
Original comment by subwiz
on 27 Jul 2008 at 2:02
from rest-client.
Closing the issue on the assumption that it works!
Original comment by subwiz
on 5 Aug 2008 at 8:09
- Changed state: Fixed
from rest-client.
Hi ... I just started using REST Client 2.2
When am using 2-WAY SSL...it's not working...am getting peer not authenticated
exception.
When am using 1-way SSL ...am getting "not able to verify hostname" error.
Is there any "Ignore Hostname Verification" feature.
Pls tell me the correct procedure, if i have done anything wrong.
Original comment by [email protected]
on 22 Dec 2008 at 5:56
from rest-client.
Thanks for pointing it out. I just found this in http client library (which is
used
by RESTClient):
http://hc.apache.org/httpcomponents-client/httpclient/apidocs/org/apache/http/co
nn/ssl/AllowAllHostnameVerifier.html
So I will incorporate this in next release. I have re-opened the issue too.
Original comment by subwiz
on 23 Dec 2008 at 4:46
- Changed state: Accepted
from rest-client.
Thanks...
Also, try to include the 2-way SSL feature as well.
By the way, when can we expect the next release?
Original comment by [email protected]
on 23 Dec 2008 at 5:15
from rest-client.
Rev. 351 has the fix for Ignoring Hostname Verification.
I have used 2-way-SSL in RESTClient with success recently. Please check with
Rev.351
and verify if it works.
Rev.351 build is available here:
http://wiztools.org/project/RESTClient/restclient-2.3-SNAPSHOT-jar-with-dependen
cies.jar
A particular date for next release is not yet planned. But I think before end
of Jan
2009 it should be released.
Original comment by subwiz
on 23 Dec 2008 at 7:06
from rest-client.
Thanks for the info...
Able to download restclient-2.3 and tested it against 1-way SSL.
It works fine.
But it fails when tried against 2-way SSL.
Attached the screen-shot of the error.
Could i request subwiz user to pls explain me the scenario against which he
could
succeed with 2-way SSL.
Pls go thru the error and let me know if i did any wrong/ give me the solution.
Thanks and wish you a Happy New Year
Original comment by [email protected]
on 31 Dec 2008 at 12:52
Attachments:
from rest-client.
Thanks for sending in the details. I am looking into it...
Original comment by subwiz
on 3 Jan 2009 at 7:49
from rest-client.
Any update on 2-way SSL feature?
Original comment by [email protected]
on 1 Jun 2009 at 7:26
from rest-client.
2-way SSL is working for me. Can you try again? Can you verify if your
configuration
is correct?
Original comment by subwiz
on 4 Jun 2009 at 1:55
from rest-client.
closing the issue as i have stopped receiving new complaints on this.
Original comment by subwiz
on 5 Sep 2010 at 3:40
- Changed state: Fixed
from rest-client.
r579 and r580 has the fix.
Original comment by subwiz
on 8 Jul 2012 at 9:17
from rest-client.
Related Issues (20)
- When RESTClient is opened with history filled in url field, the size of UI spreads across to fit the content of url HOT 1
- Huge response stuck the ui when "Default enable Response Body syntax coloring" is enable HOT 3
- Body length status message throws NPE when body is not available HOT 1
- Copy selected header value HOT 6
- HTML Syntax color patch HOT 1
- NumberFormatException Cannot load Proxy options from properties HOT 4
- Json Response should always json indent and json colour the response body HOT 2
- NFE in cli when RESTClient cli is run fresh (~/.rest-client/ does not exist) HOT 1
- “WizTools.org RESTClient” is damaged and can’t be opened. You should move it to the Trash. HOT 1
- Request-fail with whitespace in URL HOT 1
- SslReqBean keyStore and trustStore type should be java.io.File HOT 1
- support sending chunked data in the request HOT 1
- Add a comments tab to application HOT 1
- INFO: Cannot load Proxy options from properties HOT 2
- Error displaying request header values in Header table HOT 1
- Set-Cookie response header not shown with rest-client api HOT 1
- Is there way, where I can see Response in Json format with Response Content-Type Header as "application/json" HOT 2
- Copy/paste to URL in X-windows (via PRIMARY selection) doesn't work.
- rest-client sometimes does not respect the clipboard (Ctrl+C) contents on X windows
- Not able to open RCQ's saved with 2.4 rest client on 3.2.2 restclient version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rest-client.