Has anyone had any success connecting their Industruino to Azure IOT Hub or any other resource? Specifically using MQTT
I've hit a brick wall and the problems seem to exist at the SSL level
Output from Serial:
11:22:33.707 -> (SSLClient)(SSL_ERROR)(connected): Not connected because write error is set
11:22:33.707 -> (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_BR_WRITE_ERROR
I am utilizing the recent blog post as a starting point and the libraries recommended
I am successful connecting to the Mosquitto services.
It seems to reside at the Trust Anchor level (which is very opaque)
I have tried using Azures Baltimore certificate with their SaS solution
I have tried creating a Self Signed Certificate
I think it should be possible to connect to Azure..
GitHub - Azure/azure-iot-arduino: Azure IoT library for the Arduino This does it with an ESP anyone have insight how that compares to SAMD21g?
Note: that that sdk was created as a port of the c library
Any insight is appreciated
Just for future reference, as far as i remember this was resolved by digging into the SSLClient library, which defaults to TLS1.2 only, meaning only a few ciphers are accepted. It may be possible to configure Azure IoT Hub, enforcing TLS1.2, or otherwise the library can be edited to include more ciphers, as mentioned in our blog post now.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!