2017년 4월 26일 수요일

HTTPS support on WEB component


I use App Inventor for my personal use and as training tool on Makers and Internet of Things courses.
In particular, I frequently use Web component, which is fine for training purposes, but not so much for my personal use.
In fact, my typical application is to build an APP sending HTTP requests to a web server running on Arduino Yun or Raspberry located in my home. The purpose is to remotely command or check some devices while I'm out of the house.
Obviously using HTTP protocol I have several doubts about the security of my APP.
Is it planned a new component like Web component able to send HTTPS requests?
Of course I could write an extension from Web component... but before starting this not trivial job I want to be sure that official support for HTTPS on App Inventor is not under development.

--
the web component also can send https

for example see my OAuth examples here https://puravidaapps.com/tutorials.php#oauth or the Dropbox example https://puravidaapps.com/dropbox.php

--
Probably my problem is caused by the fact that Arduino Yun has a self-signed certificate.
On Web component of App Inventor I receive an "Error 1101: Unable to get a response with the specified URL: https://<yun ip address>/<resource>".
But if I use WebViewer component with IgnoreSslErrors flag to true, I have no problem on display the same https url
Any idea on how to accept self-signed certificate on Web component?

--
I have assigned this as issue #791. We will look into providing a property for the Web component to have it ignore ssl errors (presuming that is the problem here, we need to investigate a bit more).

--
Do we know what IoT  clients/services do about this?

--

댓글 없음:

댓글 쓰기