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

Intermittent certificate failure when authenticating to Azure IoT Hub DPS #57

Open
patilsnr opened this issue Jan 23, 2024 · 3 comments

Comments

@patilsnr
Copy link

When using the following process to create root, intermediate, and leaf certs, I receive occasional unauthorized errors when communicating with Azure IoT Hub Device Provisioning Service (DPS). https://damienbod.com/2019/06/27/using-chained-certificates-for-certificate-authentication-in-asp-net-core-3-0/

However, this error only occurs part of the time, and the same workflow will produce successful authentications. Examining the certificates, they are stored in .pfx format with the leaf, intermediate, and root stored inside. Communication is over HTTP.

Is this repository still being maintained? I notice the last commit was several years ago. Thank you!

@damienbod
Copy link
Owner

damienbod commented Jan 28, 2024

Hi @patilsnr

Yes

I will look at this

I update most stuff on this repo:

https://github.com/damienbod/AzureIoTHubDps

Will validate this repo as well and update if not actual.

Certificates and private keys are tricky

@patilsnr
Copy link
Author

patilsnr commented Feb 5, 2024

Thanks! Any update on this?

@damienbod
Copy link
Owner

@patilsnr Still on my TODO, work is eating up my time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants