We are in the way of optimize communication with a device which has a ESP32 Wifi inside and we are using this ESP32 Wifi as a SSL Server.
The request go on C# using SslStream library vía socket. The issue appear when we try to athenticate our access when the connection to SSL Server (the device with ESP32 inside) has been stablished.
- /* Creating the socket */
- sslstream = new SslStream(cliente.GetStream(), false, ServicePointManager.ServerCertificateValidationCallback);
- /* Here is the authentication with server where we have the issue */
- sslStream.AuthenticateAsClient("{Nombre Host}");
How can we decrease this lapse of time?, Is this a certificate matter?, Is a ESP32 hardware issue?
Thanks in advance