由于Arduino的HTTPS支持 [英] Arduino Due HTTPS Support

查看:678
本文介绍了由于Arduino的HTTPS支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在的Arduino,限制8位微控制器板的previous版本,似乎实施HTTPS(不仅仅是HTTP)几乎是不可能的。但由于Arduino的的新版本提供了32位ARM内核 - 见规格这里

In previous versions of Arduino, the limiting 8-bit microcontroller board, it seems that implementing HTTPS (not merely HTTP) was almost impossible. But the newer version of Arduino Due provides 32-bit ARM core - see spec here.

我试图检查几个网络库(libcurl的,OpenSSL的,yaSSL),但我没有找到任何人,已经移植用的Arduino由于工作。

I tried to check several network libraries (libcurl, openssl, yaSSL), but I didn't find anyone that was already ported to work with Arduino Due.

OpenSSL的可能是太重了,能够到这一处理器上运行,但我相信 yaSSL 作为嵌入式图书馆应尽可能做

OpenSSL is probably too heavy to be able to run on this processor, but I believe that yaSSL as an embedded library should be possible to do.

你有,我可以用它来触发的Arduino由于HTTPS请求图书馆的任何信息?

Do you have any information of a library that I can use to trigger HTTPS requests on Arduino Due?

推荐答案

不幸的是这是一个注释太长。

Unfortunately this is too long for a comment.

否开箱即用解决方案

从我所收集的,还有的没有直接的解决的有关的爱特梅尔SAM3X8E的ARM Cortex-M3 CPU 的一个输出HTTPS运行开箱的网络服务器。
德州Intstruments <一个href=\"http://www.element14.com/community/solutions/5883/l/texas-instruments-evaluating-peersec-networks-matrix-ssl-on-a-stellaris-microcontroller\">provides更好的选择的使用在其董事会的那一刻配备了的 Stellaris微控制器的ARM Cortex-M3的CPU

From what I have gathered, there is no straightforward solution for a webserver running on the Atmel SAM3X8E ARM Cortex-M3 CPU that outputs HTTPS out of the box. Texas Intstruments provides better options at the moment using their boards equipped with a Stellaris Microcontroller ARM Cortex-M3 CPU.

►替代

有几种可供选择的渲染加密功能,基于哪一个可能布局并实施的简单安全的通信协议与中间设备,从而有利于快速应用开发和SSL。通信

There are several options available that render cryptographic functions, based upon which one could lay out and implement a simple secure communication protocol that communicates with an intermediary device, which in turn facilitates Rapid Application Development and SSL.

这中间设备,例如一个现成的现货70 $的Andr​​oid智能手机,让您的移动项目和连接,运行指定的端口上的服务,而这又与通信的亚马逊SQS 的。已经提供。这可能听起来丑陋或艰难的,但比做与Arduino上充分TLS 3支持一个Web服务器的编程基础更加容易。给予适当的动机后者可能是容易的,但不是如果一个人只是想要一个快速务实的解决办法,以自己的项目。

This intermediary device, for instance an off-the-shelf 70$ Android smartphone that keeps your project mobile and connected, runs a service on a specified port which in turn communicates with Amazon SQS. Already available. This may sound ugly or tough, but is much easier than doing the programmatic groundwork for a webserver with full TLS 3 support on the Arduino. Given the proper motivation the latter may be easy, but not if one just wants a fast pragmatic solution to one's own project.

加密库

  • crypto-arduino-library http://code.google.com/p/crypto-arduino-library/
  • matrixssl
  • polarssl

讨论

以下是让你开始讨论的列表:

Following is a list of discussions to get you started:

  • HTTPS alternative on Arduino
  • SSL from a Microcontroller
  • Lightweight Packet Encryption

许多库仍然需要进行调整,但社区专家可以帮你相当快。

Many of these libraries would still need to be adapted, but community experts can help you with that fairly quickly.

祝你好运!如果你是自由上传您的最终项目到GitHub上,那么你只获得了感谢和追随者。

Good luck! If you are at liberty to upload your final project to github then you just gained a thanks and a follower.

这篇关于由于Arduino的HTTPS支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆