Skip to content

Commit a05f580

Browse files
authored
Merge pull request #104792 from kgremban/feb18-certuris
revert URI format for cert files
2 parents 357d5a2 + 300af4b commit a05f580

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/iot-edge/how-to-install-production-certificates.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,24 +63,24 @@ For example, if you used the sample scripts to [Create demo certificates](how-to
6363
* Windows: `C:\ProgramData\iotedge\config.yaml`
6464
* Linux: `/etc/iotedge/config.yaml`
6565

66-
3. Set the **certificate** properties in the config.yaml file to the file URI of the certificate and key files on the IoT Edge device. Remove the `#` character before the certificate properties to uncomment the four lines. Make sure the **certificates:** line has no preceding whitespace and that nested items are indented by two spaces. For example:
66+
3. Set the **certificate** properties in the config.yaml file to the full path to the certificate and key files on the IoT Edge device. Remove the `#` character before the certificate properties to uncomment the four lines. Make sure the **certificates:** line has no preceding whitespace and that nested items are indented by two spaces. For example:
6767

6868
* Windows:
6969

7070
```yaml
7171
certificates:
72-
device_ca_cert: "file:///c:/path/device-ca.cert.pem"
73-
device_ca_pk: "file:///c:/path/device-ca.key.pem"
74-
trusted_ca_certs: "file:///c:/path/root-ca.root.ca.cert.pem"
72+
device_ca_cert: "c:\\<path>\\device-ca.cert.pem"
73+
device_ca_pk: "c:\\<path>\\device-ca.key.pem"
74+
trusted_ca_certs: "c:\\<path>\\root-ca.root.ca.cert.pem"
7575
```
7676
7777
* Linux:
7878
7979
```yaml
8080
certificates:
81-
device_ca_cert: "file:///path/device-ca.cert.pem"
82-
device_ca_pk: "file:///path/device-ca.key.pem"
83-
trusted_ca_certs: "file:///path/root-ca.root.ca.cert.pem"
81+
device_ca_cert: "<path>/device-ca.cert.pem"
82+
device_ca_pk: "<path>/device-ca.key.pem"
83+
trusted_ca_certs: "<path>/root-ca.root.ca.cert.pem"
8484
```
8585
8686
4. On Linux devices, make sure that the user **iotedge** has read permissions for the directory holding the certificates.

0 commit comments

Comments
 (0)