Appendix A.1 – Uploading a Certificate to IoT Hub Azure
Perform the following steps to get the device connected to the IoT hub.
- For new users, create a new Azure account.
- From the Azure homepage, select + Create a resource > Categories > Internet of Things > IoT Hub.
- In Basics tab, enter the project
details as shown in the following figure.
- Select the Subscription and Resource group for the IoT hub.
- To create a new resource group, select “Create new” and provide a custom name. Use unique alphanumeric characters for the IoT hub name.
- In the Networking tab, set
Connectivity configuration and TLS version.Note: Once the IoT hub is created, TLS version can not be updated. The user can select the default setting 1.0.
- As per the user’s choice, set access permissions from the Management, Add-ons and Tags tabs.
- Click Review + create to review choices and then select Create to start deployment of new hub.
- Go to the newly created IoT hub and select Devices under Device management from the left navigation pane.
- Click Add Device, fill in the
details and click Save:Note: Use a unique Device ID (Common Name) (for more details on Device ID, refer to step 2 of Running the Application from Azure Cloud Demo application) as a value in Device ID field.
- The device will be added to the IoT Hub, and it will also be displayed in the list of devices.
-
Register the subordinate CA certificate to the IoT hub, which uses it to authenticate user’s devices during registration and connection. In the Azure portal, navigate to the IoT hub and select Certificates from the Security Settings menu.
- Upon completion, the status of the subordinate CA certificate will be updated to “Verified”