Closed lohmanndouglas closed 3 years ago
Hi, I tried this fix for subscribing to iotservice events, but failed to with the same error "x509: certificate signed by unknown authority".
It seems that at least the endpoint that I'm using with iothub is not signed with "Microsoft RSA TLS CA 01" intermediary.
It's signed with "Microsoft RSA TLS CA 02" instead.
It would be nice to add that chain too, but I was not able to find it yet :-P
@lohmanndouglas thanks for the heads up, I've merged @diegosz PR that should fix the issue.
I'll create a release soon.
Microsoft has recently updated the certificates polices as we can see here
https://techcommunity.microsoft.com/t5/internet-of-things/azure-iot-tls-changes-are-coming-and-why-you-should-care/ba-p/1658456