Skip to content

Commit acf0c7c

Browse files
committed
Minor fixes to improve Acrolinx score
1 parent a5b41cf commit acf0c7c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/iot-hub/tutorial-x509-test-certificate.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ ms.custom: [mvc, 'Role: Cloud Development', 'Role: Data Analytics']
1414

1515
# Tutorial: Test certificate authentication
1616

17-
You can use the following C# code example to test that your certificate can authenticate your device to your IoT Hub. Note that you must do the following before you run the test code:
17+
You can use the following C# code example to test that your certificate can authenticate your device to your IoT hub. Note that you must complete the following prerequisites before you run the test code:
1818

1919
* Create a root CA or subordinate CA certificate.
20-
* Upload your CA certificate to your IoT Hub.
20+
* Upload your CA certificate to your IoT hub.
2121
* Prove that you possess the CA certificate.
22-
* Add a device to your IoT Hub.
23-
* Create a device certificate with the same device ID as your your device.
22+
* Add a device to your IoT hub.
23+
* Create a device certificate with the same device ID as your device.
2424

2525
>[!IMPORTANT]
26-
>The authentication process checks that your device is associated with the correct IoT Hub name.
26+
>The authentication process checks that your device is associated with the correct IoT hub name.
2727
2828
## Code Example
2929

30-
The following code example shows how to create a C# application to simulate the X.509 device registered for your IoT hub. The example sends temperature and humidity values from the simulated device to your hub. In this tutorial, we will create only the device application. It is left as an exercise to the readers to create the IoT Hub service application that will send responses to the events sent by this simulated device.
30+
The following code example shows how to create a C# application to simulate the X.509 device registered for your IoT hub. The example sends temperature and humidity values from the simulated device to your hub. In this tutorial, we will create only the device application. It is left as an exercise to the readers to create the IoT Hub service application that sends responses to the events sent by this simulated device.
3131

3232
1. Open Visual Studio, select **Create a new project**, and then choose the **Console App (.NET Framework)** project template. Select **Next**.
3333

@@ -72,7 +72,7 @@ namespace SimulateX509Device
7272
string dataBuffer;
7373
Console.WriteLine("Device sending {0} messages to IoTHub...\n", MESSAGE_COUNT);
7474

75-
// Iterate MESSAGE_COUNT times to set randomm termperature and humidity values.
75+
// Iterate MESSAGE_COUNT times to set random temperature and humidity values.
7676
for (int count = 0; count < MESSAGE_COUNT; count++)
7777
{
7878
// Set random values for temperature and humidity.

0 commit comments

Comments
 (0)