ESP8266 Developer Zone The Official ESP8266 Forum 2020-02-19T06:48:06+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=26355 2020-02-19T06:48:06+08:00 2020-02-19T06:48:06+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26355&p=73586#p73586 <![CDATA[Re: How to do a secure OTA?]]>
fmuller-pi wrote:
Thanks for the help Agent!

At that point, I am still trying to resolve my issue. I am trying to create a secure connection following the example in Openssl_Client, but so far I have not been able to connect successfully to my google cloud bucket...
One of the first issues I am bumping into is that at the line:

Code:

http_connect_flag = connect(socket_id, (struct sockaddr *)&sock_info, sizeof(sock_info));

This returns errno 113 and I don't know why so far...


If your still having issues send me a PM with your Skype/Email and I can pair up with you and help figure out the problem.

Statistics: Posted by AgentSmithers — Wed Feb 19, 2020 6:48 am


]]>
2019-02-28T03:39:32+08:00 2019-02-28T03:39:32+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26355&p=38061#p38061 <![CDATA[Re: How to do a secure OTA?]]>
At that point, I am still trying to resolve my issue. I am trying to create a secure connection following the example in Openssl_Client, but so far I have not been able to connect successfully to my google cloud bucket...
One of the first issues I am bumping into is that at the line:

Code:

http_connect_flag = connect(socket_id, (struct sockaddr *)&sock_info, sizeof(sock_info));

This returns errno 113 and I don't know why so far...

Statistics: Posted by Guest — Thu Feb 28, 2019 3:39 am


]]>
2019-02-26T08:18:42+08:00 2019-02-26T08:18:42+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26355&p=38003#p38003 <![CDATA[Re: How to do a secure OTA?]]> Statistics: Posted by AgentSmithers — Tue Feb 26, 2019 8:18 am


]]>
2019-02-25T08:29:37+08:00 2019-02-25T08:29:37+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26355&p=37956#p37956 <![CDATA[Re: How to do a secure OTA?]]>
I have looked at the example of ota https for the ESP32, but it doesn't seem easy to port over to the ESP8266 RTOS SDK because there are lots and lots of differences between the 2 SDKs...

I wish Espressif had implemented a HTTPS for ota on the ESP8266.....

Anyone has done it before though??

Statistics: Posted by Guest — Mon Feb 25, 2019 8:29 am


]]>
2019-02-23T04:30:59+08:00 2019-02-23T04:30:59+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26355&p=37882#p37882 <![CDATA[How to do a secure OTA?]]>
ESP example in their SDK shows an OTA example working with a simple HTTP local server and a GET request example.
I would like to implement a process that is more secure (HTTPS, or else?). I am working with Google Cloud as my IoT solution to store my firmware bin images.
Does anyone have a way of doing this using their ESP8266_RTOS_SDK? I'm open to any viable suggestion.

Thanks

Statistics: Posted by Guest — Sat Feb 23, 2019 4:30 am


]]>