Reputation: 1
As the internet of things is becoming more and more mainstream , there is a growing need of sending http
requests from hardware .
One main problem is that hardware micro controllers are not capable of sending ssl
requests , but most server/websites/services are using ssl
.
So, question is , is there any bridge( a service) that you can send to it a http
request, he will wrap it with ssl
, send it to the endpoint, then get the respond from the endpoint, unwrap back the ssl
, and send it back to the sender ?
For example, using parse.com
requires ssl.
Upvotes: 1
Views: 911
Reputation: 19615
Yes, there are ways to do this - you could, for example, run stunnel
in client mode on a machine you trust. It's a lightweight proxy that does what you describe: turn non-SSL connections into SSL connections and vice versa.
You could also use nginx
as a proxy, which will also take care of doing some HTTP-specific rewriting:
events {}
http {
server {
location / {
proxy_pass https://wandernauta.nl:443/;
}
}
}
In both cases, everything between your proxy and the 'internet thing' will be unencrypted, which means it can be intercepted, modified, and tampered with.
For more, see the stunnel website and the nginx website.
Upvotes: 2