Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This document details how to create the certificate authority, a root certificate, and a device certificate along with adding the required certificates to both the Azure IoT Hub and Azure Injector configurations.

Note
You will also need the CA certificate that signed the SSL certificate being used on the Azure IoT Hub server to include in the Azure Injector configuration


Table of Contents


Tip

The command line tools openssl and keytool are used.

Install the OpenSSL command line tool and add the OpenSSL PATH in the Windows environment variables if necessary.

Keytool is part of the standard java distribution and is located in the bin sub-directory of your jdk installation directory. Add the keytool PATH in the Windows environment variables if necessary.

You will need to restart any open command window to pick up this configuration change.

...

Friendly NameCertificate FilenameFile DescriptionFile Location
CACertificatenote

The CA Certificate that signed the SSL cert being used on the IoTHub server



DeviceCertificateCertDevice.pemDevice Certificateiotcerts/certs/device/CertDevice.pem
DeviceKeyCertDevice.keyDevice Private Keyiotcerts/certs/device/CertDevice.key

...