Skip to content

Commit 7f5a6ff

Browse files
committed
Fix cmd in correct location
1 parent c126eff commit 7f5a6ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/iot-edge/how-to-create-transparent-gateway.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ If you don't have your own certificate authority and want to use demo certificat
119119
1. Change the ownership and permissions of the certificates and keys.
120120

121121
```bash
122+
sudo chown aziotcs:aziotcs /var/aziot/certs
122123
sudo chown -R iotedge /var/aziot/certs
123124
sudo chmod 644 /var/aziot/secrets/
124125
```
@@ -164,7 +165,6 @@ Now, you need to copy the certificates to the Azure IoT Edge for Linux on Window
164165
1. Change the ownership and permissions of the certificates and keys.
165166

166167
```bash
167-
sudo chown aziotcs:aziotcs /var/aziot/certs
168168
sudo chown -R iotedge /var/aziot/certs
169169
sudo chmod 644 /var/aziot/secrets/iot-edge-device-ca-<cert name>.key.pem
170170
```

0 commit comments

Comments
 (0)