Azure / azure-sdk-for-c

This repository is for active development of the Azure SDK for Embedded C. For consumers of the SDK we recommend visiting our versioned developer docs at https://azure.github.io/azure-sdk-for-c.
MIT License
223 stars 118 forks source link

Additional functionality for authentication Azure IoT Hub via X509 certificates for the ESP8266 chip #2319

Open Vitomir2 opened 2 years ago

Vitomir2 commented 2 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Currently, in the sample sketches for the ESP8266, in azure-sdk-for-c-arudino, there is no option for using X509 Certificates for the authentication with the Azure IoT Hub.

However, it looks like there is such option for the ESP32, thus, it will be awesome this to be added for the ESP8266 sample, too.

If-statement in the ESP32 example: image

iot_configs.h file: image

david-it commented 1 year ago

Hi @Vitomir2,

I'm also looking for a minimal working example for ESP8266 of Azure IoT Hub authentication via x509. Did you find anything meanwhile?

Vitomir2 commented 1 year ago

Hi @david-it,

No, I have not and did a workaround by just using an auto-generated X509 certificate, in order to finish my tests for the thesis project, because I did not have much of time till the deadline. I was planning to start making this example and suggesting it as a PR, but did not find time for this.

Rowr21 commented 3 months ago

Hi @Vitomir2, I hope you are all well.

Is there any plan to introduce this yet? I am currently only connecting via Sas token. But creating X509 certs would be preferable due to my requirements,

Thanks a lot!

Rowan