Home > Edge > Manufacturing Edge > Guides > Dell Validated Design for Manufacturing Edge - Design Guide with XMPro > XMPro tasks
Using h-mail as third-party SMTP server, perform the following steps.
Sudo apt-get install mosquitto mosquitto-clients
mosquitto_sub -t "test" -h 127.0.0.1
mosquitto_pub -m "message" -t "test"
Sudo mosquitto_passwd -c /etc/mosquitto/passwd
<username>
allow_anonymous false
password_file /etc/mosquito/passwd
mosquitto_sub -t "test" -u <username> -P <password>
-h 127.0.0.1
mosquitto_pub -t "test" -m "message from mosquitto_pub "client"
-u <username> -P <password>
Helpful Links: Full Config guidelines (Skip Steps 2-4) and use Mosquitto SSL Configuration -MQTT TLS Security for inputting certificates. If you already have a root CA cert and a server certificate signed by that CA, use those as your certificates instead. Use Creating a Self-Signed Certificate to learn how to create your own CA and sign your own server certs via OpenSSL.
listener 1883
listener 8883
allow_anonymous true
password_file /etc/mosquitto/passwd
certfile /etc/mosquitto/certs/<server certificate>.crt
keyfile /etc/mosquitto/certs/<private keyfile>.key
cafile /etc/mosquitto/ca_certificates/<CA certificate>.crt
mosquitto_pub -h <FQDN/hostname used in certificate> -t
<topic name> --cafile <full path to ca that is used for
broker in config> -m “message” -p 8883 -u
“<username>” -P “password”>
mosquitto_sub -h <FQDN/hostname used in certificate> -t
<topic name> --cafile <full path to ca that is used for
broker in config> -p 8883 -u “<username>” -P
“<password>”
During on-premise installation of Subscription manager, https is not enabled on the IIS manager by default.
To fix this, enable https bindings to the IIS manager by performing the following steps.