Page 1 of 1

mbedtls_ssl_handshake returned -0x7780

Posted: Wed Apr 24, 2024 2:07 pm
by fanmen1
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.

Re: mbedtls_ssl_handshake returned -0x7780

Posted: Fri Apr 26, 2024 9:11 am
by fanmen1
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.

Re: mbedtls_ssl_handshake returned -0x7780

Posted: Tue Sep 24, 2024 9:54 pm
by daliesp32
I've registered to this forum just to say thank you. the world is a better place because of people like you. :D