问一下ESP32的demo(openssl_client) ,看了这个工程没有发现使用到证书的地方,有点疑问(mbedtls都用了证书),
openssl这个是不用证书,还是其它的方式,链接结果 请求无效 ,麻烦大神看一下
工程demo 路径
esp-idf\examples\protocols\openssl_client
I (2585) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (3145) esp_netif_handlers: example_connect: sta ip: 192.168.222.108, mask: 255.255.255.0, gw: 192.168.222.253
I (3145) example_connect: Got IPv4 event: Interface "example_connect: sta" address: 192.168.222.108
I (3155) example_connect: Connected to example_connect: sta
I (3155) example_connect: - IPv4 address: 192.168.222.108
I (3165) openssl_example: OpenSSL demo thread start OK
I (3175) openssl_example: get target IP address
I (3195) openssl_example: OK
I (3195) openssl_example: 36.152.44.96
I (3195) openssl_example: create SSL context ......
I (3195) openssl_example: OK
I (3205) openssl_example: create socket ......
W (3205) wifi:<ba-add>idx:1 (ifx:0, 48:0e:ec:87:09:e9), tid:0, ssn:1, winSize:64
I (3215) openssl_example: OK
I (3215) openssl_example: bind socket ......
I (3225) openssl_example: OK
I (3225) openssl_example: socket connect to remote www.baidu.com ......
I (3245) openssl_example: OK
I (3245) openssl_example: create SSL ......
I (3255) openssl_example: OK
I (3255) openssl_example: SSL connected to www.baidu.com port 443 ......
I (4035) openssl_example: OK
I (4035) openssl_example: send https request to www.baidu.com port 443 ......
I (4035) openssl_example: OK
I (4055) openssl_example: HTTP/1.1 400 Bad Request
I (4055) openssl_example: totally read 28 bytes data from www.baidu.com ......
ESP32的 openssl_client
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 25 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.