X-CUBE-Azure x509, are certificates supported?
I am running STM32CubeExpansion_Cloud_AZURE_V1.1.0
With IoTHub SDK 1.2.12 and provisioning client 1.2.12
The provisioning client resolves server name as expected, then the iothub client handshakes with the IotHub using MQTT, but the server rejects it.
In the attached traces you can see the server authentication works, but then the device authentication fails after the 15 handshake steps.
To ensure the problem is not with the certificates, I created a MOCK project in Linux using the same SDKs and same certificates. It works.
The one difference is that Linux uses OpenSSL but X-CUBE-Azure uses mbedTLS
I tried with Ecc and RSA certificates, same results:
Works with Linux
Fails with STM32
Error:
IOTHUB_CLIENT_CONNECTION_UNAUTHENTICATED
Attached the traces without secretes.
