Skip to content

Commit 642115b

Browse files
authored
Merge pull request #184381 from v-steveadams/correct-net-version
Correct .NET version in prereqs
2 parents 6ec0355 + 56b8a94 commit 642115b

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

articles/iot-dps/quick-create-simulated-device-symm-key.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This quickstart demonstrates a solution for a Windows-based workstation. However
3434

3535
::: zone pivot="programming-language-csharp"
3636

37-
* Install [.NET 6.0 SDK](https://dotnet.microsoft.com/download) on your Windows-based machine. You can use the following command to check your version.
37+
* Install [.NET Core 3.1 SDK](https://dotnet.microsoft.com/download) or later on your Windows-based machine. You can use the following command to check your version.
3838

3939
```cmd
4040
dotnet --info

articles/iot-dps/quick-create-simulated-device-tpm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The following prerequisites are for a Windows development environment. For Linux
4444

4545
* A TPM 2.0 hardware security module on your Windows-based machine.
4646

47-
* Install [.NET 6.0 SDK](https://dotnet.microsoft.com/download) on your Windows-based machine. You can use the following command to check your version.
47+
* Install [.NET Core 3.1 SDK](https://dotnet.microsoft.com/download) or later on your Windows-based machine. You can use the following command to check your version.
4848

4949
```bash
5050
dotnet --info

articles/iot-dps/quick-create-simulated-device-x509.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The following prerequisites are for a Windows development environment. For Linux
3737

3838
::: zone pivot="programming-language-csharp"
3939

40-
* Install [.NET Core 3.1 SDK or later](https://dotnet.microsoft.com/download) or later on your Windows-based machine. You can use the following command to check your version.
40+
* Install [.NET Core 3.1 SDK](https://dotnet.microsoft.com/download) or later on your Windows-based machine. You can use the following command to check your version.
4141

4242
```bash
4343
dotnet --info
@@ -47,7 +47,7 @@ The following prerequisites are for a Windows development environment. For Linux
4747

4848
::: zone pivot="programming-language-nodejs"
4949

50-
* Install [Node.js v4.0 or above](https://nodejs.org) or later on your machine.
50+
* Install [Node.js v4.0 or above](https://nodejs.org) on your machine.
5151

5252
* Install [OpenSSL](https://www.openssl.org/) on your machine and is added to the environment variables accessible to the command window. This library can either be built and installed from source or downloaded and installed from a [third party](https://wiki.openssl.org/index.php/Binaries) such as [this](https://sourceforge.net/projects/openssl/).
5353

@@ -277,7 +277,7 @@ In addition to the tooling in the C SDK, the [Group certificate verification sam
277277
---------------- End Nesting Level 1 ----------------
278278
Provider = Microsoft Strong Cryptographic Provider
279279
Signature test passed
280-
CertUtil: -dump command completed successfully.
280+
CertUtil: -dump command completed successfully.
281281
```
282282
283283
::: zone-end
@@ -339,15 +339,15 @@ A test certificate file (*python-device.pem*) and private key file (*python-devi
339339
java -jar ./provisioning-x509-cert-generator-{version}-with-deps.jar
340340
```
341341
342-
3. Enter **N** for _Do you want to input common name_.
342+
3. Enter **N** for _Do you want to input common name_.
343343
344344
4. Copy the output of `Client Cert` to the clipboard, starting from *-----BEGIN CERTIFICATE-----* through *-----END CERTIFICATE-----*.
345345
346346
![Individual certificate generator](./media/quick-create-simulated-device-x509/cert-generator-java.png)
347347
348348
5. Create a file named *_X509individual.pem_* on your Windows machine.
349349
350-
6. Open *_X509individual.pem_* in an editor of your choice, and copy the clipboard contents to this file.
350+
6. Open *_X509individual.pem_* in an editor of your choice, and copy the clipboard contents to this file.
351351
352352
7. Save the file and close your editor.
353353
@@ -433,16 +433,16 @@ This article demonstrates an individual enrollment for a single device to be pro
433433
434434
6. In the **Add Enrollment** panel, enter the following information:
435435
* Select **X.509** as the identity attestation *Mechanism*.
436-
* Under the *Primary certificate .pem or .cer file*, choose *Select a file* to select the certificate file *X509individual.pem* created in the previous steps.
436+
* Under the *Primary certificate .pem or .cer file*, choose *Select a file* to select the certificate file *X509individual.pem* created in the previous steps.
437437
* Optionally, you may provide the following information:
438438
* Select an IoT hub linked with your provisioning service.
439-
* Enter a unique device ID. Make sure to avoid sensitive data while naming your device.
439+
* Enter a unique device ID. Make sure to avoid sensitive data while naming your device.
440440
* Update the **Initial device twin state** with the desired initial configuration for the device.
441-
441+
442442
:::image type="content" source="./media/quick-create-simulated-device-x509/device-enrollment.png" alt-text="Add device as individual enrollment with X.509 attestation.":::
443443
444444
::: zone-end
445-
445+
446446
7. Select **Save**. You'll be returned to **Manage enrollments**.
447447
448448
8. Select **Individual Enrollments**. Your X.509 enrollment entry should appear in the registration table.
@@ -461,7 +461,7 @@ In this section, we'll update the sample code to send the device's boot sequence
461461
462462
3. In Visual Studio's *Solution Explorer* window, navigate to the **Provision\_Samples** folder. Expand the sample project named **prov\_dev\_client\_sample**. Expand **Source Files**, and open **prov\_dev\_client\_sample.c**.
463463
464-
4. Find the `id_scope` constant, and replace the value with your **ID Scope** value that you copied earlier.
464+
4. Find the `id_scope` constant, and replace the value with your **ID Scope** value that you copied earlier.
465465
466466
```c
467467
static const char* id_scope = "0ne00002193";
@@ -539,7 +539,7 @@ In this section, we'll update the sample code to send the device's boot sequence
539539
540540
::: zone pivot="programming-language-nodejs"
541541
542-
1. In the Azure portal, select the **Overview** tab for your Device Provisioning Service.
542+
1. In the Azure portal, select the **Overview** tab for your Device Provisioning Service.
543543
544544
2. Copy the **_ID Scope_** and **Global device endpoint** values.
545545
@@ -562,7 +562,7 @@ In this section, we'll update the sample code to send the device's boot sequence
562562
5. Edit the **register\_x509.js** file with the following changes:
563563
564564
* Replace `provisioning host` with the **_Global Device Endpoint_** noted in **Step 1** above.
565-
* Replace `id scope` with the **_ID Scope_** noted in **Step 1** above.
565+
* Replace `id scope` with the **_ID Scope_** noted in **Step 1** above.
566566
* Replace `registration id` with the **_Registration ID_** noted in the previous section.
567567
* Replace `cert filename` and `key filename` with the files you copied in **Step 2** above.
568568
@@ -572,7 +572,7 @@ In this section, we'll update the sample code to send the device's boot sequence
572572
573573
```cmd/sh
574574
node register_x509.js
575-
```
575+
```
576576
577577
>[!TIP]
578578
>The [Azure IoT Hub Node.js Device SDK](https://github.com/Azure/azure-iot-sdk-node) provides an easy way to simulate a device. For more information, see [Device concepts](./concepts-service.md).
@@ -585,12 +585,12 @@ The Python provisioning sample, [provision_x509.py](https://github.com/Azure/azu
585585
586586
| Variable name | Description |
587587
| :------------------------- | :---------------------------------------------- |
588-
| `PROVISIONING_HOST` | This value is the global endpoint used for connecting to your DPS resource |
589-
| `PROVISIONING_IDSCOPE` | This value is the ID Scope for your DPS resource |
590-
| `DPS_X509_REGISTRATION_ID` | This value is the ID for your device. It must also match the subject name on the device certificate |
591-
| `X509_CERT_FILE` | Your device certificate filename |
588+
| `PROVISIONING_HOST` | This value is the global endpoint used for connecting to your DPS resource |
589+
| `PROVISIONING_IDSCOPE` | This value is the ID Scope for your DPS resource |
590+
| `DPS_X509_REGISTRATION_ID` | This value is the ID for your device. It must also match the subject name on the device certificate |
591+
| `X509_CERT_FILE` | Your device certificate filename |
592592
| `X509_KEY_FILE` | The private key filename for your device certificate |
593-
| `PASS_PHRASE` | The pass phrase you used to encrypt the certificate and private key file (`1234`). |
593+
| `PASS_PHRASE` | The pass phrase you used to encrypt the certificate and private key file (`1234`). |
594594
595595
1. In the Azure portal, select the **Overview** tab for your Device Provisioning Service.
596596
@@ -622,10 +622,10 @@ The Python provisioning sample, [provision_x509.py](https://github.com/Azure/azu
622622
CN=Python-device-01
623623
Name Hash(sha1): 1dd88de40e9501fb64892b698afe12d027011000
624624
Name Hash(md5): a62c784820daa931b9d3977739b30d12
625-
625+
626626
NotBefore: 1/29/2021 7:05 PM
627627
NotAfter: 1/29/2022 7:05 PM
628-
628+
629629
Subject:
630630
===> CN=Python-device-01 <===
631631
Name Hash(sha1): 1dd88de40e9501fb64892b698afe12d027011000
@@ -712,7 +712,7 @@ The Python provisioning sample, [provision_x509.py](https://github.com/Azure/azu
712712
```
713713
714714
* Use the following format when copying/pasting your certificate and private key:
715-
715+
716716
```java
717717
private static final String leafPublicPem = "-----BEGIN CERTIFICATE-----\n" +
718718
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n" +

0 commit comments

Comments
 (0)