Skip to content

Commit 4dc0383

Browse files
committed
Remove 'sed' from command to retrieve fingerprint on Win
1 parent bab8453 commit 4dc0383

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/iot-edge/how-to-create-test-certificates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Create test certificates and learn how to install them on an Azure
44
author: kgremban
55
manager: philmea
66
ms.author: kgremban
7-
ms.date: 04/14/2020
7+
ms.date: 04/23/2020
88
ms.topic: conceptual
99
ms.service: iot-edge
1010
services: iot-edge
@@ -308,7 +308,7 @@ Your IoT device also needs a copy of its device certificates so that it can auth
308308
3. Retrieve the SHA1 fingerprint (called a thumbprint in IoT Hub contexts) from each certificate. The fingerprint is a 40 hexadecimal character string. Use the following openssl command to view the certificate and find the fingerprint:
309309

310310
```PowerShell
311-
openssl x509 -in <WRKDIR>\certs\iot-device-<device name>-primary.cert.pem -text -fingerprint | sed 's/[:]//g'
311+
openssl x509 -in <WRKDIR>\certs\iot-device-<device name>-primary.cert.pem -text -fingerprint
312312
```
313313

314314
Run this command twice, once for the primary certificate and once for the secondary certificate. You provide fingerprints for both certificates when you register a new IoT device using self-signed X.509 certificates.

0 commit comments

Comments
 (0)