Tagged: esp32 w5500, HTTPS Request, SSL Certificate
- This topic has 4 replies, 2 voices, and was last updated 7 months, 2 weeks ago by
Renzo Mischianti.
-
AuthorPosts
-
-
25 September 2024 at 18:28 #31612
I am facing issue in making Https request to my site.
it gives following message
Begin Ethernet
DHCP OK!
Local IP : 192.168.0.104
Subnet Mask : 255.255.255.0
Gateway IP : 192.168.0.1
DNS Server : 192.168.0.1
Ethernet Successfully Initialized
(SSLClient)(SSL_WARN)(m_run_until): Terminating because the ssl engine closed
(SSLClient)(SSL_ERROR)(m_start_ssl): Failed to initlalize the SSL layer
(SSLClient)(SSL_ERROR)(m_print_br_error): Incoming protocol or record version is unsupported.
connection failed
(SSLClient)(SSL_ERROR)(available): Cannot operate on a closed SSL connection.
(SSLClient)(SSL_ERROR)(m_print_br_error): Incoming protocol or record version is unsupported.disconnecting.
Received 0 bytes in 0.0104, rate = 0.00 kbytes/secondAttachments:
You must be logged in to view attached files. -
26 September 2024 at 16:53 #31617
Hi,
I think that, as described in the error, the problem is that the version of SSL is not supported by SSLClient; try to check the server security settings.
Bye Renzo -
27 September 2024 at 10:46 #31619
Sometimes, It works and sometime i get different error.
Begin Ethernet
DHCP OK!
Local IP : 192.168.10.154
Subnet Mask : 255.255.255.0
Gateway IP : 192.168.10.100
DNS Server : 192.168.10.1
Ethernet Successfully Initialized
(SSLClient)(SSL_ERROR)(connect): Failed to connect using m_client. Are you connected to the internet?
connection failed
ESP32-D0WD-V3
(SSLClient)(SSL_ERROR)(available): Cannot operate if the write error is not reset:
(SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_CONNECT_FAIL
(SSLClient)(SSL_ERROR)(connected): Not connected because write error is set
(SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_CONNECT_FAILdisconnecting.
(SSLClient)(SSL_ERROR)(connected): Not connected because write error is set
(SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_CONNECT_FAIL
Received 0 bytes in 0.0310, rate = 0.00 kbytes/second -
27 September 2024 at 10:46 #31620
Although I am connected to the internet.
-
13 October 2024 at 09:36 #31648
Hi,
sorry for the late responseThe error (SSLClient)(SSL_ERROR)(m_print_br_error): Incoming protocol or record version is unsupported. indicates that the SSL/TLS version the server expects is not supported by your client. Check if your server enforces a specific SSL/TLS version (like TLS 1.2 or 1.3). Ensure that your ESP32 or SSLClient library supports the required version.
Try to modify the SSL settings on your server to allow older versions like TLS 1.1 or ensure the client can handle TLS 1.2+.
Bye Renzo
-
-
AuthorPosts
- You must be logged in to reply to this topic.