I want to send a HTTP GET request to a server using Arduino. The api I am using is HTTPS based. I want to know if and how is it possible to send a request to HTTPS when Arduino supoorts only HTTP.
You would need to relay the request through another server. Google "relay server".
edit: I haven't tried this, but the least expensive way would be using a RPi as the relay.
I want to know if and how is it possible to send a request to HTTPS when Arduino supoorts only HTTP.
It is NOT possible for the Arduino to make an HTTPS request.
It is possible for the Arduino to make a GET request, in HTTP format, to a different server or script that then makes the HTTPS request supplying the needed credentials.
@PaulS can you provide me with a server which would be able to forward such requests?
komalhm:
@PaulS can you provide me with a server which would be able to forward such requests?
Yes, for $100 per month.
OK
or; you could implement TLS over HTTP..
http://ardiri.com/blog/utls_defining_lightweight_security_for_iot_part_1
http://ardiri.com/blog/utls_defining_lightweight_security_for_iot_part_2
http://ardiri.com/blog/utls_defining_lightweight_security_for_iot_part_3
http://ardiri.com/blog/utls_defining_lightweight_security_for_iot_part_4
http://ardiri.com/blog/utls_defining_lightweight_security_for_iot_part_5
as of today; working RC4 and AES128/192/256 ciphers - i have some RSA(1024 bit) code on Arduino for key exchange, however, pre-shared keys can also work (i have a demo of this right now). i got into creating microTLS because there needs tobe something for low powered micro-controllers.
ardiri:
or; you could implement TLS over HTTP..http://ardiri.com/blog/utls_defining_lightweight_security_for_iot_part_1
Aaron Ardiri - IoT Blog: µTLS - defining lightweight security for IoT (part 2)
Aaron Ardiri - IoT Blog: µTLS - defining lightweight security for IoT (part 3)
Aaron Ardiri - IoT Blog: µTLS - defining lightweight security for IoT (part 4)
Aaron Ardiri - IoT Blog: µTLS - defining lightweight security for IoT (part 5)as of today; working RC4 and AES128/192/256 ciphers - i have some RSA(1024 bit) code on Arduino for key exchange, however, pre-shared keys can also work (i have a demo of this right now). i got into creating microTLS because there needs tobe something for low powered micro-controllers.
Hello Ardiri, congratulations on your work! I'm planning to use Arduino to restart some devices, but the connection between the Arduino and the server goes through an open wifi network, I would like to know if there is something ready and concrete that adds a basic encryption to the communication, something that can prevent someone as any program can see the command to restart the device.
Thank you
I recommend Speck. It's designed for resource limited processors like the AVR.
aarg:
I recommend Speck. It's designed for resource limited processors like the AVR.
Thanks for your answer!
I already did a Google search on arduino "Speck" and saw that the practical examples are few and my level of knowledge is small, but I will continue the research.
camalau:
Thanks for your answer!I already did a Google search on arduino "Speck" and saw that the practical examples are few and my level of knowledge is small, but I will continue the research.