openLuat / LuatOS

LuatOS -- Powerful embedded Lua Engine for IoT devices, with many components and low memory requirements (16K RAM, 128K Flash)
https://wiki.luatos.com
MIT License
460 stars 100 forks source link

LuatOS - socket库 - netc支持TLS #26

Closed wendal closed 4 years ago

wendal commented 4 years ago

让socket库支持TLS连接, 起码要访问以下网站正常

  1. https://www.baidu.com 证书来源globalsign
  2. https://wiki.openluat.com 证书来源digicert
  3. https://nutz.cn 证书来源letsencrypt

扩展测试:

  1. 阿里云iot
  2. 腾讯云iot
  3. 中移动onenet

提醒: 似乎W60x的AES硬件加速有问题, 停用该加速后, 默认mbedtls配置能访问 https://rt-thread.org