element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Secure HTTPS connections with Arduino
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 7 replies
  • Subscribers 390 subscribers
  • Views 578 views
  • Users 0 members are here
  • wifi
  • https
  • security
  • tls
Related

Secure HTTPS connections with Arduino

Workshopshed
Workshopshed over 10 years ago

Whilst working with the Arduino Yún on the Enchanted Objects challenge I looked into securing the connection using HTTPS with TLS data encryption (which was straightforward) and validating the certificates (which was not). Although my Yún based solution did work there is an issue with the boot time and power consumption.

 

Since then I've been searching around the net for alternative solutions that were equally secure and stumbled upon the ATWINC1500 ATWINC1500

 

image

From: http://www.em.avnetasia.com/Admin/Product/DownloadCenterFiles/8bc93bd9-cbe6-4400-be94-a99a178b9e37.pdf

 

A bit of further searching showed that the module is being put into a shield format with an additional secure memory chip, here's a prototype from last year WINC1500 | Hackaday and it's also listed on the Arduino store http://store-usa.arduino.cc/products/asx00001

 

That's something to look forward to.

  • Sign in to reply
  • Cancel
Parents
  • balearicdynamics
    balearicdynamics over 10 years ago

    Hi Andy,

     

    frankly I had no idea that a similar module was already existing for the Yun but it is not uncommon that with slow processors and micro controllers VS computers the remote communication is secured with an encryption IC. There are many and the same Atmel, but also Nordic and NXP produce good ones at a very low price.

    Another more flexible approach that I have already used in past for a very tiny linux board developed for the Nintendo WII II (was running OpenWRT linux distribution) is based on the FPGA, eventually in conjunction with and encryption IC. In this way there is the advantage of a very high flexibility in the firmware / software development always keeping the security level at a very high standard.

    Last but not least - referring to some previous posts about the costs of the trusted certificates respect the untrusted open cert - this is a low-cost reliable method without the need of a certification authority for data encryption.

     

    In one of my previous lifes when I was a Alcatel network specialist I remember that this is just the most common method that the high-end WAN networking Cisco devices uses to grant the highest security level (e.g. in the PIX Cisco Firewalls and the big routers collecting data through the SNMP protocol).

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Workshopshed
    Workshopshed over 10 years ago in reply to balearicdynamics

    Enrico, the Yún is effectively an Arduino Leonardo with a OpenWRT router soldered on the top, the problem I had was the boot time of 60s and the high power requirement of 300mA. If it could be made to sleep or if it booted faster then that would work. I don't know how long typical OpenWRT boards take to boot but I've also heard that the micro routers such as the TP-Link Nano can be used in this case.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to Workshopshed

    Andy,

     

    if your boot time is 60s it is too long for the OpenWRT (I don't know the Yun). But do you have investigated if this is normal or not around the world? Or you think it may depend on your specific hardware configuration ? I remember that with a reasonable strong series of applications this small thing was booting almost immediately (few seconds). The linux side on the chip is something closed or can be managed in some way? If you need more details for a comparation I have here the prototype and sources etc. so I can make some "revival" tests, hopefully image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Workshopshed
    Workshopshed over 10 years ago in reply to balearicdynamics

    45 to 60s is about normal for the Yún depending on if you have an SDCard installed see Booting the Yún

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Workshopshed
    Workshopshed over 10 years ago in reply to balearicdynamics

    45 to 60s is about normal for the Yún depending on if you have an SDCard installed see Booting the Yún

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to Workshopshed

    Thank you. This was my concern, it is your need a faster boot. I have no idea of the kernel version you are using and how the OpenWRT starts and runs, but if I am not wrong there is a way to set the linux to go in power saving / standby while certain conditions are verified. As this depends also by the processor features on the linux side I think it is the worth to investigate a bit.

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Workshopshed
    Workshopshed over 10 years ago in reply to balearicdynamics

    The Atheros AR9331 module on the Yún does have sleeping/low power capability but I think it would be simpler to start with a module such as the one above and build on that rather than trying to coerce the Yún into doing something it was clearly not designed to do.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube