mbedtls_ssl_handshake returned -0x7780

fanmen1
Posts: 24
Joined: Thu Mar 21, 2024 1:30 pm

mbedtls_ssl_handshake returned -0x7780

Postby fanmen1 » Wed Apr 24, 2024 2:07 pm

Hi,
The HTTPS connection is refused with the above error code. The connection was working fine and was able post some request to the said server, but after adding some mqtt bits (no relation to https), I'm getting the following error as shown in image. As you can see, the certificate is verified but the connection is refused. Please advise on this matter.
Attachments
Screenshot 2024-04-24 144834.png
Screenshot 2024-04-24 144834.png (25.03 KiB) Viewed 909 times

fanmen1
Posts: 24
Joined: Thu Mar 21, 2024 1:30 pm

Re: mbedtls_ssl_handshake returned -0x7780

Postby fanmen1 » Fri Apr 26, 2024 9:11 am

If anyone is facing the same issue, here are some insights to overcome this.
1. Go to SSL Labs Server Test online and check all the cipher-suites that is supported by the server.
2. you can either disable the hardware MPI (bignum) acceleration in the menuconfig or move some ISR to a different core, either option works as expected.
3. depending on the cipher-suites of the server, enable the same in the menuconfig under TLS key exchange methods.
Hope this helps.

daliesp32
Posts: 1
Joined: Tue Sep 24, 2024 9:48 pm

Re: mbedtls_ssl_handshake returned -0x7780

Postby daliesp32 » Tue Sep 24, 2024 9:54 pm

I've registered to this forum just to say thank you. the world is a better place because of people like you. :D

Who is online

Users browsing this forum: No registered users and 118 guests