Skip to content

Commit 9077fa5

Browse files
authored
Merge pull request #190832 from fcabrera23/eflow-nested
Add nested config for EFLOW
2 parents b40e409 + 9676103 commit 9077fa5

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed

articles/iot-edge/how-to-connect-downstream-iot-edge-device.md

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,17 +124,31 @@ Make sure that the user **iotedge** has read permissions for the directory holdi
124124

125125
1. Install the **root CA certificate** on this IoT Edge device.
126126

127-
```bash
128-
sudo cp <path>/<root ca certificate>.pem /usr/local/share/ca-certificates/<root ca certificate>.pem.crt
129-
```
127+
* **Debian/Ubuntu**
128+
```bash
129+
sudo cp <path>/<root ca certificate>.pem /usr/local/share/ca-certificates/<root ca certificate>.pem.crt
130+
```
131+
132+
* **IoT Edge for Linux on Windows (EFLOW)**
133+
```bash
134+
sudo cp <path>/<root ca certificate>.pem /etc/pki/ca-trust/source/anchors/<root ca certificate>.pem.crt
135+
```
130136

131137
1. Update the certificate store.
132138

133-
```bash
134-
sudo update-ca-certificates
135-
```
139+
* **Debian/Ubuntu**
140+
```bash
141+
sudo update-ca-certificates
142+
```
136143

137-
This command should output that one certificate was added to /etc/ssl/certs.
144+
* **IoT Edge for Linux on Windows (EFLOW)**
145+
```bash
146+
sudo update-ca-trust
147+
```
148+
For more information, check [CBL-Mariner SSL CA certificates management](https://github.com/microsoft/CBL-Mariner/blob/1.0/toolkit/docs/security/ca-certificates.md).
149+
150+
151+
This command should output that one certificate was added to /etc/ssl/certs.
138152

139153
1. Open the IoT Edge configuration file.
140154

@@ -160,7 +174,7 @@ Make sure that the user **iotedge** has read permissions for the directory holdi
160174
1. *If this device is a child device*, find the **Parent hostname** section. Uncomment and update the `parent_hostname` parameter to be the FQDN or IP address of the parent device, matching whatever was provided as the hostname in the parent device's config file.
161175

162176
```toml
163-
parent_hostname = "my-parent-device"
177+
parent_hostname = "my-parent-device"
164178
```
165179

166180
1. Find the **Trust bundle cert** section. Uncomment and update the `trust_bundle_cert` parameter with the file URI to the root CA certificate on your device.

0 commit comments

Comments
 (0)