You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-central/core/how-to-connect-devices-x509.md
+19-7Lines changed: 19 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,10 @@
1
1
---
2
-
title: Connect devices with X.509 certificates in an Azure IoT Central application
3
-
description: How to connect devices with X.509 certificates using Node.js device SDK for IoT Central Application
2
+
title: Connect devices with X.509 certificates to your application
3
+
titleSuffix: IoT Central
4
+
description: This article describes how devices can use X.509 certificates to authenticate to your application.
4
5
author: dominicbetts
5
6
ms.author: dobett
6
-
ms.date: 10/31/2022
7
+
ms.date: 12/14/2022
7
8
ms.topic: how-to
8
9
ms.service: iot-central
9
10
services: iot-central
@@ -89,7 +90,7 @@ Make a note of the location of these files. You need it later.
89
90
90
91
1. Open your IoT Central application and navigate to **Permissions** in the left pane and select **Device connection groups**.
91
92
92
-
1. Select **+ New** to create a new enrollment group called _MyX509Group_ with an attestation type of **Certificates (X.509)**.
93
+
1. Select **+ New** to create a new enrollment group called _MyX509Group_ with an attestation type of **Certificates (X.509)**. You can create enrollment groups for either IoT devices or IoT Edge devices.
93
94
94
95
1. In the enrollment group you created, select **Manage primary**.
95
96
@@ -366,9 +367,9 @@ This section assumes you're using a group enrollment to connect your IoT Edge de
366
367
To connect the IoT Edge device to IoT Central using the X.509 device certificate:
367
368
368
369
- Copy the device certificate and key files onto your IoT Edge device. In the previous group enrollment example, these files were called **sampleDevice01_key.pem** and **sampleDevice01_cert.pem**.
369
-
- On the IoT Edge device, edit `provisioning` section in the **/etc/iotedge/config.yaml** configuration file as follows:
370
+
- On the IoT Edge device, edit `provisioning` section in the **/etc/aziot/config.toml** configuration file as follows:
370
371
371
-
```yaml
372
+
```toml
372
373
# DPS X.509 provisioning configuration
373
374
provisioning:
374
375
source: "dps"
@@ -381,6 +382,17 @@ To connect the IoT Edge device to IoT Central using the X.509 device certificate
@@ -389,7 +401,7 @@ To connect the IoT Edge device to IoT Central using the X.509 device certificate
389
401
- Run the following command to restart the IoT Edge runtime:
390
402
391
403
```bash
392
-
sudo systemctl restart iotedge
404
+
sudo iotedge config apply
393
405
```
394
406
395
407
To learn more, see [Create and provision IoT Edge devices at scale on Linux using X.509 certificates](../../iot-edge/how-to-provision-devices-at-scale-linux-x509.md).
Copy file name to clipboardExpand all lines: articles/iot-central/core/tutorial-connect-iot-edge-device.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,10 @@
1
1
---
2
-
title: Tutorial - Connect an IoT Edge device to Azure IoT Central | Microsoft Docs
3
-
description: This tutorial shows you how to connect an IoT Edge device to your IoT Central application. You first create an unassigned device, and then add a device template to enable views and forms for an operator to be able to interact with the device.
2
+
title: Tutorial - Connect an IoT Edge device to your application
3
+
titleSuffix: IoT Central
4
+
description: This tutorial shows you how to register, provision, and connect an IoT Edge device to your IoT Central application.
4
5
author: dominicbetts
5
6
ms.author: dobett
6
-
ms.date: 10/18/2022
7
+
ms.date: 12/14/2022
7
8
ms.topic: tutorial
8
9
ms.service: iot-central
9
10
services: iot-central
@@ -81,8 +82,8 @@ The list of devices on the **Devices** page now includes the **Environmental sen
81
82
Before you deploy the IoT Edge device, you need the:
82
83
83
84
***ID Scope** of your IoT Central application.
84
-
***Device ID** values for the gateway and downstream devices.
85
-
***Primary key** values for the gateway and downstream devices.
85
+
***Device ID** values for the IoT Edge device.
86
+
***Primary key** values for the IoT Edge device.
86
87
87
88
To find these values, navigate to the **Environmental sensor - 001** device from the **Devices** page and select **Connect**. Make a note of these values before you continue.
88
89
@@ -144,7 +145,7 @@ The following steps show you how to add a device template for an IoT Edge device
144
145
145
146
1. On the **Select type** page, select **Azure IoT Edge**, and then **Next: Customize**.
146
147
147
-
1. On the **Customize** page, enter **Environmental sensor** as the device template name.
148
+
1. On the **Customize** page, enter *Environmental sensor* as the device template name. Select **Next: Review**.
148
149
149
150
1. On the **Review** page, select **Create**.
150
151
@@ -212,6 +213,8 @@ IoT Central created this view automatically from the **manage** interface in the
To remove the virtual machine that's running Azure IoT Edge, navigate to the Azure portal and delete the resource group you created previously. If you used the recommended name, your resource group is called **MyIoTEdgeDevice_rg**.
217
+
215
218
## Next steps
216
219
217
220
If you'd prefer to continue through the set of IoT Central tutorials and learn more about building an IoT Central solution, see:
0 commit comments