Events

:

:

Elektronik | Funk | Software

Der Technik-Blog

  • Social Media

    Werbung:


    New Posts


    Events

    • Keine zukünftigen Events vorhanden

    The Tech-Blog

    Arduino Ethernet SSL TLS HTTPS POST GET Request

    Arduino Secure HTTPS Request

    Alex @ AEQ-WEB

    The Arduino can be made network-compatible with an Ethernet Shield (W5100). Common protocols such as TCP, UPD or HTTP are easily supported with this shield. There are also a lot of libraries available, that makes programming much easier. This makes it very easy for beginners to connect an Arduino to the internet. Now SSL is the security standard on WWW, so the call for encrypted data transfers on the Internet of Things is getting louder. This article is about the compatibility of SS/TLS HTTPS requests with an Arduino and about possible alternatives.

    Werbung:

    Why HTTPS at all?

    Since HTTPS is standard on almost every web server, it is increasingly the case that the web server no longer accepts conventional HTTP requests. In this case, a microcontroller has to send data packets over HTTPS in order to be able to reach the server. Often the SSL certificate is not checked by the microcontroller because it is "only" a data transmission. If the SSL certificate is really checked, sensitive data could also be transmitted. In addition, HTTPS would also make sense for a bidirectional connection, since it is more difficult to manipulate a control command between server and controller.

    Why Arduino can not handle HTTPS

    For one thing, the processor is very slow for TLS, but it would still manage it with a lot of time. The Ethernet shield on an Arduino would also theoretically be suitable for an HTTPS request. It primarily fails due to the RAM of the Arduino, which is simply too small for SSL/TLS encryption.

    What are the alternatives?

    Newer boards with faster processors and more RAM are usually suitable for this. Boards that are specially designed for the Internet of Things, such as the ESP8266 or ESP32 support SSL / TLS and have enough resources for this. But even there, an HTTPS request takes a few seconds until it is finished. Linux-based Arduino boards or MKR boards would also perform.

    Werbung:


    Info: This page was automatically translated and may contain errors
    122X122

    About the Author

    Alex, the founder of AEQ-WEB. He works for more of 10 years with different computers, microcontroller and semiconductors. In addition to hardware projects, he also develops websites, apps and software for computers.

    Top articles in this category:

    Arduino LM358 PT1000 Sensor Converter

    PT1000 Converter for Arduino

    • Video
    • DE/EN

    PT1000 sensors can not be measured directly analog with a microcontroller. How to build a PT100 Converter with LM358 and Arduino?

    read more
    Arduino PT100 Temperature Sensor Converter

    PT100 - Measure temperature with Arduino

    • Video
    • DE/EN

    The PT100 is a very precise industrial temperature sensor. This article is about building a measuring amplifier for reading a PT100 on the Arduino

    read more

    Social Media

    Werbung:


    New Posts


    Events

    • Keine zukünftigen Events vorhanden