Comments (3)
Thanks for the feedback. What is the address you are connecting to? You need to use https, not http. If you are using that, can you please copy all output of the server from the moment it starts? Did it create keys in ~/.local/share/network/certs/ and .../private/ ?
It is normal that you get a message complaining that the key is not trusted (unless you got it signed by a CA).
from linear-actuator.
Hi Bas
yes, indeed it worked (after excepting the exception) with https. I
understand that it's a good idea in general, especially if contacting
the server over the internet, but this small program will be when you
stand next to the server and operate the pump. So can we make it
available also without ssl or tsl (this is the part I don't understand
fully ;) ).
Regards
Rasmus
On 11/13/2014 08:05 PM, Bas Wijnen wrote:
Thanks for the feedback. What is the address you are connecting to?
You need to use https, not http. If you are using that, can you please
copy all output of the server from the moment it starts? Did it create
keys in ~/.local/share/network/certs/ and .../private/ ?It is normal that you get a message complaining that the key is not
trusted (unless you got it signed by a CA).—
Reply to this email directly or view it on GitHub
#5 (comment).
from linear-actuator.
I think connections should be secure by default. There is no benefit to using an unencrypted connection; the lower cpu load is insignificant. I see two ways to use unencrypted connections from localhost, both of which have downsides:
- autodetecting local connection and not encrypting them is confusing, because then one machine needs http, while all others need https.
- setting a configuration value to disable encryption means that when the setup is changed slightly and (real) network connections are accepted, the setup is insecure.
The only problem with the encryption is that you either get a warning that the connection is insecure, which is a bug in the browsers IMO (I mean, how is an untrusted key less secure than no key at all?!) Also, you get the warning only once, so it's not really a problem.
The network module allows the code using it to specify that encryption should not be used (and the websockets module allows passing that argument through). So if you really want to, you can add "tls = False" to the websockets.RPCHttpd call at the end of pump-server. Because of the reasons listed above, I recommend against it, but it can be done. Also, I didn't actually test it, but I think it should work.
from linear-actuator.
Related Issues (10)
- OpenSCAD file linear_actuator_v0.scad missing includes HOT 2
- License HOT 1
- Working with the raspberry pi
- 3d printed part designs not included in upload HOT 1
- comments on all input variables in scad file HOT 1
- End mount hole issue when using M8 lead screw HOT 1
- Pump Server Not Sending Signal to Stepper Driver HOT 17
- Pump server not sending signal to stepper HOT 3
- Question about the note HOT 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 linear-actuator.