Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mbedtls_ssl_handshake returned -0x7780 (CA-321) #206

Open
yasiralijaved opened this issue Nov 19, 2023 · 0 comments
Open

mbedtls_ssl_handshake returned -0x7780 (CA-321) #206

yasiralijaved opened this issue Nov 19, 2023 · 0 comments

Comments

@yasiralijaved
Copy link

I am stuck for days into this problem with ESP32 WROOM 32D. I created a thing in aws iot core and downloaded the certificates. Then setup the tls_mutual_auth example in VS Code from https://github.com/espressif/esp-aws-iot/tree/master/examples/mqtt/tls_mutual_auth.
Modified the cert folder with downloaded certificates but getting the error.
Although the same certificates are working FINE when using MQTTX in Windows, it can connect, subscribe and publish without any issue.

esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x7780
esp-tls-mbedtls: Certificate verified.
esp-tls: Failed to open new connection

coreMQTT: A clean MQTT connection is established. Cleaning up all the stored outgoing publishes.
coreMQTT: Subscribing to the MQTT topic MyDevice/example/topic.
coreMQTT: sendMessageVector: Unable to send packet: Network Error.
.
.
.
mbedtls: ssl_msg.c:4799 is a fatal alert message (msg 70)

mbedtls: ssl_msg.c:3942 mbedtls_ssl_handle_message_type() returned -30592 (-0x7780)

mbedtls: ssl_tls12_client.c:1199 mbedtls_ssl_read_record() returned -30592 (-0x7780)
.
.
@github-actions github-actions bot changed the title mbedtls_ssl_handshake returned -0x7780 mbedtls_ssl_handshake returned -0x7780 (CA-321) Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant