Skip to content

Commit 75b1a73

Browse files
Merge pull request #221607 from dominicbetts/central-edge-version-updates
IoT Central: Update IoT Edge versions
2 parents 2d42f94 + aafbf93 commit 75b1a73

File tree

2 files changed

+28
-13
lines changed

2 files changed

+28
-13
lines changed

articles/iot-central/core/how-to-connect-devices-x509.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
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.
45
author: dominicbetts
56
ms.author: dobett
6-
ms.date: 10/31/2022
7+
ms.date: 12/14/2022
78
ms.topic: how-to
89
ms.service: iot-central
910
services: iot-central
@@ -89,7 +90,7 @@ Make a note of the location of these files. You need it later.
8990
9091
1. Open your IoT Central application and navigate to **Permissions** in the left pane and select **Device connection groups**.
9192
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.
9394
9495
1. In the enrollment group you created, select **Manage primary**.
9596
@@ -366,9 +367,9 @@ This section assumes you're using a group enrollment to connect your IoT Edge de
366367
To connect the IoT Edge device to IoT Central using the X.509 device certificate:
367368
368369
- 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:
370371
371-
```yaml
372+
```toml
372373
# DPS X.509 provisioning configuration
373374
provisioning:
374375
source: "dps"
@@ -381,6 +382,17 @@ To connect the IoT Edge device to IoT Central using the X.509 device certificate
381382
identity_pk: "file:///<path>/sampleDevice01_key.pem"
382383
# always_reprovision_on_startup: true
383384
# dynamic_reprovisioning: false
385+
386+
[provisioning]
387+
source = "dps"
388+
global_endpoint = "https://global.azure-devices-provisioning.net"
389+
id_scope = "<SCOPE_ID>"
390+
391+
[provisioning.attestation]
392+
method = "x509"
393+
registration_id = "env-sens-001"
394+
identity_pk = "file:///<path>/envSens001_key.pem"
395+
identity_cert = "file:///<path>/envSens001_cert.pem"
384396
```
385397
386398
> [!TIP]
@@ -389,7 +401,7 @@ To connect the IoT Edge device to IoT Central using the X.509 device certificate
389401
- Run the following command to restart the IoT Edge runtime:
390402
391403
```bash
392-
sudo systemctl restart iotedge
404+
sudo iotedge config apply
393405
```
394406
395407
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).

articles/iot-central/core/tutorial-connect-iot-edge-device.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
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.
45
author: dominicbetts
56
ms.author: dobett
6-
ms.date: 10/18/2022
7+
ms.date: 12/14/2022
78
ms.topic: tutorial
89
ms.service: iot-central
910
services: iot-central
@@ -81,8 +82,8 @@ The list of devices on the **Devices** page now includes the **Environmental sen
8182
Before you deploy the IoT Edge device, you need the:
8283

8384
* **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.
8687

8788
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.
8889

@@ -144,7 +145,7 @@ The following steps show you how to add a device template for an IoT Edge device
144145

145146
1. On the **Select type** page, select **Azure IoT Edge**, and then **Next: Customize**.
146147

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**.
148149

149150
1. On the **Review** page, select **Create**.
150151

@@ -212,6 +213,8 @@ IoT Central created this view automatically from the **manage** interface in the
212213

213214
[!INCLUDE [iot-central-clean-up-resources](../../../includes/iot-central-clean-up-resources.md)]
214215

216+
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+
215218
## Next steps
216219

217220
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

Comments
 (0)