Comments (5)
I test with my W5500 module and ESP32 and it works fine.
There are some user feedbacks about library when using ESP32 with W5500 both works and not work.
Especially when I implement it on my other library that supports external SSLClient
and concluded that it may not work in all configurations even using WiFIClient
as a client.
The problem is the SSL engine library used in this library for ESP32 is mbedTLS
that is already come with core SDK installation.
The mbedTLS
works well when binding with lwIP TCP socket directly as in WiFiClientSecure.
The problem is not only at Ethernet module buffer memory restriction but the binding between mbedTLS
and Client has some stability and slow data transfer speed issues.
When I test mbedTLS
binding with Client (WiFiClient) without socket and Client (WiFiClient) with socket, the result is worst when compare with WiFiClientSecure.
Othe SSLClient libraries that use mbedTLS
in the same approach as in this library will not work good in all conditions.
Now I decide to remove mbedTLS
as a SSL library and use BearSSL
SSL engine library instead as used in ESP8266 core.
From testing ESP32 with BearSSL
, it works well as fast connection as in WiFIClientSecure that used mbedTLS
.
I and other users also test ESP32 with BearSSL
and W5500 and it works fine.
I will finish updating the library soon in this week.
I will post here when the new version is available.
from esp_sslclient.
Thank you for the quick response. I tested with just wifi, and that works fine, I know that is using bearSSL. It would be great to try out your new version with bearSSL. Looking forward to it. :)
from esp_sslclient.
Forgot to mention one thing. In searching for solutions, I played around with ArduinoBearSSL, and I used Ethernet client to test. It worked by itself. However, when I tried the method in my main ESP32 project, I got so many errors, because ESP32 Arduino already uses bearssl, and may files were already being used, and causing the error of "Already defined here". So, if you were to work with bearssl, It would be great if you can address this as well :)
from esp_sslclient.
Now the new version (v2.0.0) is available.
Arduino's Library Manager may be available soon or download zip file to install.
from esp_sslclient.
Did a quick test, and it works. Tested with both wificlient and ethernetclient. Both are working. Thanks, I will test further, and update you if there are any issues. Much appreciated :)
from esp_sslclient.
Related Issues (11)
- MQTT-TLS with Ethernet w5500 HOT 2
- TelegramUniversalBot & TimeClient HOT 1
- ESP_SSLClient with Ethernet Client connection delay HOT 9
- JWT error (Off-Topic) HOT 24
- Data loss HOT 3
- connectSSL hangs HOT 6
- Does not keep connection open HOT 4
- Allow custom Port HOT 7
- mqtt/tls configuration error HOT 33
- MQTT-TLS with Ethernet w5500 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp_sslclient.