Comments (4)
Hello,
Yes your explanation makes sense. Let us have a look in order to reproduce
and fix if need be.
- Sean
On Thu, Aug 25, 2016 at 6:59 PM, Wayne Jenkins [email protected]
wrote:
If I use https then I get a scheme is not registered error because the
only way to add https as a permitted scheme is through use of a self-signed
certificate. It would be better if there was an option that allowed the use
of https (and then trusted a self-signed certificate if one was present).—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#9, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABSyP1SDgtUI0Hh8O1f_2fDBiHh2Ra0rks5qjkhvgaJpZM4Jtq6q
.
from java-client-library.
You can see the limitation in the RClientImpl.java. I cannot get https registered as a scheme unless I go via the self-signed route. I tried setting the flag but it didn't help. Cheers, Wayne.
SchemeRegistry schemeRegistry = new SchemeRegistry();
schemeRegistry.register(
new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
if(allowSelfSignedSSLCert) {
...
}
from java-client-library.
BTW We are using RServer in the cloud motivating the use of https. Our self-signed certificate didn't work so we were forced to use a real certificate. The issue we have now is that it doesn't work either. I will hack a solution for now within the RClientImpl.java file but it would be good if it was resolved in the future. Https needs to be supported in general.
from java-client-library.
I added the following line to the code above.
schemeRegistry.register(new Scheme("https", SSLSocketFactory.getSocketFactory(), 443));
The POST works for submitting a task but I cannot get the result of the computation for similar reasons. I have put it in the too hard basket for now.
from java-client-library.
Related Issues (5)
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 java-client-library.