Hey there,
I'm trying to test the Azure IoT Hub. MQTTBox is used for testing. I have generated a certificate.pem and key.pem from OpenSSL. Command used is
openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out certificate.pem – to generate a new private key and public certificate
I have used certificate.pem on client certificate section and key.pem on client key file.
MQTT client id = TESTUSER
protocol = mqtt/tls
HOST is iothubhostname.azure-devices.net:8883
ssl/tls certificate type=self signed certificate.
username=iothubhostname.azure-devices.net/TESTUSER/api-version=2016-11-14
passowrd= none
but the connection error occurring.
I have created the device on Azure web portal using the fingerprint of the certificate.pem
is the command for generating certificate and key is correct?
no need to add any file on the CA file option?
is a need to fill the user name option?
is the procedure for doing is correct or is there any steps missing?
PS: please don't refer to any site because I already checked that.




























