feat(esp_https_ota): SSL supports no verification

This commit is contained in:
dongheng
2019-10-09 11:13:57 +08:00
parent d6ec931ec7
commit 8e76fa1130
2 changed files with 13 additions and 0 deletions

View File

@ -9,4 +9,13 @@ config OTA_BUF_SIZE
This buffer size depends on CONFIG_HTTP_BUF_SIZE. If you want to enlarge ota buffer size, please also enlarge CONFIG_HTTP_BUF_SIZE.
OTA_BUF_SIZE equals to 1460 can save 40% upgrade time in contrast to OTA_BUF_SIZE which equals to 256.
config OTA_ALLOW_HTTP
bool "Allow HTTP for OTA (WARNING: ONLY FOR TESTING PURPOSE, READ HELP)"
default n
help
It is highly recommended to keep HTTPS (along with server certificate validation) enabled.
Enabling this option comes with potential risk of:
- Non-encrypted communication channel with server
- Accepting firmware upgrade image from server with fake identity
endmenu