How To Enable Azure IoT Hub Certificate Authentication in EZCA
Prerequisites
Introduction - Enabling Azure IoT Hub Access For Certificate Authentication in EZCA
If you are using EZCA for Azure IoT and would like to EZCA to automatically add new CA certificates to Azure IoT, EZCA must to have Contributor Role access to your IoT Hubs. With this access, EZCA will be able to automatically add new CA certificates to your IoT Hubs, and rotate your CAs when they expire. If you would also like EZCA to disable your IoT devices when a certificate is revoked, EZCA must have IoT Hub Registry Contributor permission in your IoT Hub.
Note: If you are going to manually rotate your CAs in Azure IoT, this step is not required.
Adding The EZCA Application to RBAC in Azure Portal
- Login to https://portal.azure.com
- Navigate to the IoT Hub you want EZCA to manage.
- Click on the Access control (IAM) menu option
- Click on Add
- Select the “Add Role Assignment” Option
- Select the “Privileged administrator roles” tab
- Select Contributor role
- Click on Members
- Click on “Select Members”
- Select the Keytos Application
- Click the Select button
- Click the Review + assign button
- Click the Review + assign button