Other Parts Discussed in Thread: CC3235SF
During exploring previous issue, I tried to enable TLS1.2 mode. To achieve this goal I disabled TLS1.3 support in my prototype, based on mqtt_client_over_tls_1_3_CC3235SF_LAUNCHXL_tirtos7_ticlang example switched following macro:
-#define SUPPORT_TLS1_3 (1)
+#define SUPPORT_TLS1_3 (0)
After trying to connect to https://test.mosquitto.org/ public broker on port 8883: MQTT, encrypted, unauthenticated. Following failure happens:
[SL-MBEDTLS::INFO] Performing the mbedTLS SSL/TLS handshake...
[SL-MBEDTLS::ERROR] Failed ! mbedtls_ssl_handshake returned -0x7500
Where Error means "0x7500 SSL - Our own certificate(s) is/are too large to send in an SSL message". During attempt to connect to port 8884: MQTT, encrypted, client certificate required got same failure.
Used same certificates, that in TLS1.3 issue. Suppose, that certificates are valid because authenticated connection with desktop third party software was successful.
What I need to do to achieve connection with TLS 1.2 with authentication?
Thanks,
Aliaksandr.