Trouble with Azure IoT C# SDK Certificate
问题 I am receiving this error when I try to connect to Azure IoT Hub. Microsoft.Azure.Devices.Client.Exceptions.UnauthorizedException. I could not post the error screen shots here, since I do not have enough reputation points. So instead I wrote the whole details at http://azuregeon.blogspot.in/2017/10/azure-iot-c-certificate-connectivity.html if anyone gets a chance please have a look. 回答1: You should set the Common Name as "_demoDevice" when authenticating you x.509 device. The Common Name is